This chapter is from the book

This chapter is from the book

Creating the Supplemental CSS Style Rules (advanced.css)

The stylesheet, advanced.css, contains the style rules that are recognized
only by browsers that recognize @import. It contains all of the
positioning rules for the page, as well as some rules that override those in
common.css.

Create new margin: property style rules for
the p and h1 elements.

In the common.css stylesheet, we specified 3emmargin
values for these, but on our "real" layout we want 0px margins.
Therefore, we'll override the rules previously specified in common.css by
creating new rules that are declared !important.

h1, p { margin: 0px !important; }

Create the style rules for the .tableft and
.tabright class selectors that specify the background-image
property rules for each.

These are the div elements that contain the main content. The
content boxes all have a one-pixel wide black border and are absolutely
positioned like the tab boxes. The height and width are specified
in absolute (pixel) values.