Style

So why use CSS?

Reduced markup complexity

Layout type HTML file size CSS file size(s) # of HTML tables # of spacer GIFs # of images used
HTML-based Layout 20k 1.8k 8 35 56
CSS-based Layout 12k 7.6k 0 0 25

More details about this specific example can be found in the article Web Page Reconstruction with CSS by Christopher Schmitt.

<< | >> | ^

Once we have removed layout instructions from the markup of our documents, redesign becomes a relatively simple task.
- Eric Costello