Difference between revisions of "Cascading Style Sheet (CSS)"

From Joomla! Documentation

(New page: {{inuse}})
 
(Changes for Words2Watch compliance.)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{inuse}}
+
<noinclude><languages /></noinclude>
 +
<translate>
 +
<!--T:1-->
 +
{{Chunk:Cascading Style Sheet (CSS)/en}}
 +
 
 +
==Additional Information== <!--T:2-->
 +
Cascading Style Sheets (CSS) is the most widely used style sheet language on the World Wide Web. It is standardised by the [[wp:W3C|World Wide Web Consortium(W3C)]] and can be used to style any kind of XML document, including HTML, SVG and XUL.
 +
 
 +
<!--T:3-->
 +
It was conceived to ease the separation of content (written in XML markup) and presentation (written in CSS) of documents. CSS can be used to define and alter almost all presentation aspects of a document, like colours, font sizes and types, text direction, element sizes and positioning, etc.
 +
 
 +
<!--T:4-->
 +
CSS can also be used to improve accessibility of documents. It also provides mechanisms to present the same XML markup in different ways, optimised for different devices like screen-readers, speech-synthesizing browsers, printers, and Braille-based, tactile devices.
 +
 
 +
==Core Joomla! CSS== <!--T:5-->
 +
Joomla provides many class- and id-attributes in its HTML output, which can be used to alter its presentation through the use of CSS definitions for said classes and ids.
 +
 
 +
<!--T:6-->
 +
* [[List of Joomla! generated core CSS classes]]
 +
 
 +
<!--T:7-->
 +
* [[Core module-generated CSS]]
 +
 
 +
<!--T:8-->
 +
* [[Core module chrome CSS]]
 +
 
 +
<!--T:9-->
 +
* [[Joomla 1 6 core css classes and ids]]
 +
 
 +
<!--T:10-->
 +
[[Category:Glossary]]
 +
</translate>

Latest revision as of 16:09, 17 September 2022

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Kiswahili • ‎Nederlands • ‎Türkçe • ‎català • ‎español • ‎français • ‎italiano • ‎български • ‎русский • ‎हिन्दी • ‎中文(台灣)‎ • ‎日本語

A Cascading Style Sheet or CSS is used to control the presentation of an XHTML page. For example, a CSS file will often control the font, margins, color, background graphics, and other aspects of a web page's appearance. CSS allows you to separate the content of an XHTML page from it's appearance. In Joomla!, CSS files (for example, template.css) are normally part of the template.

See also: Template, Page Class Suffix, Module Class Suffix


Additional Information[edit]

Cascading Style Sheets (CSS) is the most widely used style sheet language on the World Wide Web. It is standardised by the World Wide Web Consortium(W3C) and can be used to style any kind of XML document, including HTML, SVG and XUL.

It was conceived to ease the separation of content (written in XML markup) and presentation (written in CSS) of documents. CSS can be used to define and alter almost all presentation aspects of a document, like colours, font sizes and types, text direction, element sizes and positioning, etc.

CSS can also be used to improve accessibility of documents. It also provides mechanisms to present the same XML markup in different ways, optimised for different devices like screen-readers, speech-synthesizing browsers, printers, and Braille-based, tactile devices.

Core Joomla! CSS[edit]

Joomla provides many class- and id-attributes in its HTML output, which can be used to alter its presentation through the use of CSS definitions for said classes and ids.