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

Hedges > Setting Boundaries

Setting Boundaries

Before these images are added to the design, there are a few basic parameters that need to be set. Mears’s layout is technically a fixed-width layout although the header image tiles horizontally to fill the entire window. The central part is constrained within a 732-pixel-wide area. The #container box serves as a wrapper for all other elements on the page, so these constraints are applied to it:

body {
 margin: 0;
 padding: 0;
 color: #888;
 text-align: center;                                 
}
#container {
 position: relative;
 padding: 0;
 width: 732px;                                       
						 margin: 0 auto;                                     
						 text-align: left;                                   
}


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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