HTML and CSS Reference
In-Depth Information
Figure 14.25 Blocks are absolutely positioned based on pixels from top, bottom,
left, and right.
Figure 14.26 Firefox: Absolute positions with four blocks. Window height is changed
and boxes overlap.
14.10.2 The <div> Container
One of the most important containers is the <div> It serves as a generic block-level con-
tainer where you can put other elements and give them color, borders, margins, and so
forth. It is most useful when used with CSS, allowing you to easily change the contents of
the div for an entire site. A site, for example, is often divided up into a header, navigation
 
 
Search WWH ::




Custom Search