Cascading Style Sheets
- Presentation is completely determined by CSS. Pages must be consistent across the latest versions of Firefox, Internet Explorer and Opera.
- CSS is a standard layout language for the Web. CSS controls colors, typography, and the size and placement of elements and images.
- CSS is bandwidth-friendly technology: a single 10K CSS document can control the appearance of an entire website, comprising thousands of pages and hundreds of megabytes.
- CSS is intended by its creators (W3C) to replace HTML table-based layouts, frames, and other presentational coding.
- CSS, together with other web standards such as XHTML, helps separate style from content, making the Web more accessible.
- Style sheets make it easier to maintain and update web sites. One change in a style sheet can change a presentational element such as text color for an entire web site.
- A document needs to be understandable with its style sheet turned off. Style sheets are an asset to accessibility but they are ignored by assistive technology so it is important not to convey information with style sheets.
CSS Layout - The power
The power of CSS is it’s ability to separate content from presentation:
Content is the text, images, and other elements on a page that represent the important information.
Presentation refers to how the content is displayed – font selection, background color, layout, etc.