Cascading Style Sheets
CSS is a recommendation from the World Wide Web Consortium (W3C) that gives authors and readers more control ove the look and layout of HTML and XML documents.
Using CSS, you can control:
- fonts, font sizes, and font colors
- line spacing and length
- margins and indents
- background images and colors . . . and much more.
Amoung the benefits of using CSS to authors are:
- HTML code becomes much simpler and more manageable
- using relative measurements in your style sheet, you can style your documents to look good on any monitor at any resolution
- you have finer and more predictale control over presentation
- you can define the look of a site in one place, and change the whole site by changing just the one file
- people with older browsers can see your pages
- people with disabilities have better access to your pages
CSS is implemented in many browsers, including Microsoft Internet Explorer, Mozilla Firefox, Opera, Apple Safari, Konqueror, and Netscape Navigator.
For more information on CSS, its specification, tutorials, and examples, see the sources given below.
- General Introduction
- Touch of Style
-
CSS Properties
- HTMLSource: Stylesheets
Good comprehensive reference.
-
W3C recommended
Complete list of Properties (with examples).
- www.bluerobot.com
Well written information on style sheets.
- www.w3.org/Style/CSS
The W3C CSS site, including all the specifications.
- www.wired.com
Wired have recently updated their site to pure CSS. It's worth seeing.
-
www.htmlhelp.com/reference/css
The Web Design Group, "Guide to Cascading Style Sheets."
- 53 CSS-Techniques You Couldn't Live Without Ideas (with code) that can make web-architects life easier.