• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

CSS Layout Control

CSS positioning can transform old table-based designs into elegant CSS-based layouts. Authors have found that transforming their pixel-perfect tables into CSS layouts can mean big savings in bandwidth and maintenance costs. By breaking out of the fixed-grid tyranny of tables, you also gain the flexibility to repurpose your content. By shunting your presentation into style sheets, your code becomes pure structure surrounding content. Changing layouts site-wide is as easy as changing one style sheet. Transforming your content into media- or platform-specific versions takes only a different style sheet, not painful recoding.

Two and three-column layouts are popular choices, with Netscape 4 compliance a plus (and a challenge). Let's take a look at the sample three-panel layout in Listing 8.9.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint