• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter Ten. CSS in Action: A Hybrid Lay... > Laying Out the Page Divisions

Laying Out the Page Divisions

Our next set of rules establishes basic page divisions. We have put them close to each other in our CSS file to make editing and redesign easier, and we've preceded them with a comment to remind us—or to explain to a colleague who might subsequently have to modify our style sheet—what the set of rules is for. If you're familiar with commenting in HTML, it's the same deal here, but with a slightly different convention based on C programming.

Following the comment, we have a rule that establishes that the primary content area will have 25px of whitespace at its left and top [10.7], and another that places a nonrepeating graphic background image (arrow.gif) at the bottom and in the center of the table whose id is content [10.8].


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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