May 2003
Intermediate to advanced
480 pages
10h 9m
English
Before you can grasp some of the syntax and behavior of CSS rules, you need a basic understanding of the inheritance CSS uses.
Every element on an HTML page belongs to the document's inheritance tree. The root of that tree is always the html element, even in documents that fail to include the html tag explicitly.
Commonly, the html element has only two direct descendants in the inheritance tree: head and body.
Figure 3-1 shows a simple HTML inheritance tree for a small document.
As you can see, the document has in its head the standard title and link elements, ...
Read now
Unlock full access