View Single Post
Old 05-03-2011, 01:44 AM   PM User | #2
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
Ideall you would keep the same basic layout structure from page to page. For instance, you would have:


Code:
<body>
<div id="wrapper">
  <div id="header">Your header and or site logo</div>
   <div id="maincontent">
     All your main content goes here.
    <div id="sideBar">Side bar menu here</div>
   </div>
</div>
</body>
Then your stylesheet would contain stylerules for all your divs. If some div element changes on another page, you simply div it an id or class and style that id or class.
__________________
Teed
teedoff is offline   Reply With Quote