7. Visual Formatting Properties
One of the obstacles Web designers commonly face is getting a page to look the way they want it to without it taking forever to load. While it’s true that graphics give you the flexibility to add text and layout exactly where you want them in your design, and tables enable you to position elements in the browser window or assemble graphics in jigsaw fashion, both graphics and tables take more time to render than straight HTML content. These elements can substantially slow the speed at which your page loads.
Using CSS to create Web layouts provides more accuracy than either graphics or tables, and the results are displayed much faster.
You’ve already learned how to use CSS to control margins and borders in your ...
Get CSS, DHTML, and Ajax: Visual QuickStart Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.