This is one of very few CSS2 tutorials on the net. Not only does it have that advantage, but also has the following advantages:
- It is easy to understand
- It covers every aspect of the specification, including those that are frequently not touched upon by other tutorials such as cascading, box width calculations, etc.
- It presents information in an efficient manner - it is short, so you learn faster
Why style sheets?
Style sheets have the following advantages:
- They separate content from formatting. This means that instead of marking a quotation as italic, you mark it as a quote and then tell the browser that you want all quotes to be italic. This means that it is a two-second job to change quotes to bold, red, green or normal.
- They reduce download time by removing formatting information from documents. Thus instead of having to specify that you want Times New Roman a few dozen times in a file for headings, you specify once that you want headings to be Times New Roman. They also are advantageous in that they need only be downloaded once for an entire website.
- They give far more control over formatting than HTML - such features as background images and colors on all elements - not just the whole document, etc.
- They ensure a consistent appearance across a site