
Unlike HTML, a background image can be applied to any element such as a
paragraph, a title, or any other element. Of course, if the element is the top
element, then the background applies to the whole document, like HTML.
Some Advanced Features
The properties we looked at in the last section are the most commonly used
ones. CSS has more advanced features and properties, most of which were
introduced by CSS2.
Listing 6.4 illustrates some of the advanced features. Figure 6.7 shows how
it looks with Mozilla, milestone 8. Mozilla supports more CSS2 properties
than Internet Explorer 5.0.
Listing 6.4: An Advanced Style Sheet
article
{
font-family: Palatino, Garamond, ...