CSS layout help, please!

Out of context: Reply #25

  • Started
  • Last post
  • 29 Responses
  • trooper0

    <div id="purple">
    <div id="logo" style="width:200px;float:left">logo</div>
    <div id="red" style="560px;float:left">
    <div id="nav">nav</div>
    <div id="content" style="width:400px;float:left">content</div>
    <div id="advertising" style="width:160px;float:left">Advertising</div>
    <hr style="clear:both;visability:hidden" />
    </div>
    <div id="footer">footer</div>
    </div>

    tip dont use width and margin left/right together and you should be ok

    • I just stepped in, but why the heck would you use inline styles if there are clear id's on every div?NONEIS
    • just so its easy to follow OBVIOUSLY it would be exterbnal css ... PFT!trooper
    • Haha, well, I SAID I just stepped in hahahaNONEIS

View thread