css - Most efficient way of having 100% header and wrapper with fixed content within? -
what efficient way of having 100% header, fixed width content, , 100% footer?
i'm trying limit divs maximum, i'm quite stuck...
anybody help?
thx lot
here simplest version:
<div class="header"> <p>header</p> </div> <div class="main"> <p>content</p> <p>content</p> <p>content</p> </div> <div class="footer"> <p>footer</p> </div>
css:
div { margin:0 auto; } .main{ width:400px; }
http://jsfiddle.net/madmartigan/adkff/3/
here version header , footer's inner content fixed width align main content:
http://jsfiddle.net/madmartigan/adkff/1/
3 divs simple can go, assumed wanted minimize divs , not "limit divs maximum" :)
Comments
Post a Comment