Applying Style
Now with the structure of style rules under your belt, let's take a quick tour of popular styles. The full spectrum of style rules and possible values can be found in the CSS recommendations on the W3C Web site. CSS Level 1, the first version of CSS, is located at http://www.w3.org/TR/REC-CSS1. CSS Level 2, which builds upon Level 1, is found at http://www.w3.org/TR/REC-CSS2/. CSS1 covered the basics: fonts, list formatting, and box properties such as margins and padding. CSS2 continued the work by adding control of positioning, the ability to float boxes in a given area, and what's known as the z-index, for a psuedo-three-dimensional presentation.
At present not all browsers fully implement CSS1. CSS2 support in browsers is far ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access