Search results
Results from the WOW.Com Content Network
The CSS selectors, expressed in terms of elements, classes and id's, relevant for the style of the page body include the following. As far as possible, examples are given, which show the result for the current style settings: : link — links — example: Help:Index ; default: help:index (See a vs :link): link: link: link: visited: link ...
Everything on MediaWiki:Common.css must have any effect only within the element with this ID. standard-derived skins around content bodyContent Main content area for monobook-derived skins. Everything on MediaWiki:Common.css must have any effect only within the element with this ID. monobook/main.css (screen, projection)
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Help; Learn to edit; Community portal; Recent changes; Upload file
id: an identifier unique within the document, denoted in the selector language by a hash prefix e.g. #id; class: an identifier that can annotate multiple elements in a document, denoted by a dot prefix e.g. .classname (the phrase "CSS class", although sometimes used, is a misnomer, as element classes—specified with the HTML class attribute ...
An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
The portlet class is the style used by all the div blocks around the main content. Identified blocks using that class: p-cactions – id for the list of page-related tabs above the main content (page, talk, edit, etc.), top. p-personal – id for the list of user-related links above the main content (username, talk, etc.), top.
[7] [8] [9] This can be used as CSS selector to provide presentational properties, by browsers to focus attention on the specific element, or by scripts to alter the contents or presentation of an element. Appended to the URL of the page, the URL directly targets the specific element within the document, typically a sub-section of the page.
class: one or more classifications to which the element belongs. See Wikipedia:Catalogue of CSS classes. dir: text direction— "ltr" (left-to-right), "rtl" (right-to-left) or "auto". id: unique identifier for the element. lang: primary language for the contents of the element per BCP 47. style: applies CSS styling to the contents of the element.