Prev | Current Page 201 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

Although CSS still doesn??™t provide total control over the page layout, it??™s far
more powerful than the old-school technique of using layout tables and
presentational markup.
A web browser typically reads and renders HTML documents. This happens in two
phases: the parsing phase and the rendering phase.
During the parsing phase, the browser reads the markup in the document, breaks
it down into components, and builds a document object model (DOM) tree.1
Consider this example HTML document:
1 It??™s called a tree, because a graphical representation of the DOM looks much like an upside-down
tree.
CSS Layout and Formatting
The Ultimate CSS Reference 140
"http://www.w3.org/TR/html4/strict.dtd">


Widgets


Widgets


Welcome to Widgets, the number one company
in the world for selling widgets!




The above HTML document can be visualized as the DOM tree in Figure 6.


Pages:
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213