PDA

View Full Version : Expandable Layout Help



Newchip
07-02-2009, 09:09 PM
Could anyone help me here iv started coding my layout in divs iv uploaded what i done so far www.dm-streamcast.com (http://www.dm-streamcast.com) and im havin problems adding the last div for the content area

i want the content area on the right hand side to the nav and im going to put an expandable iframe

but everytime i add a div using:

#left{
width: 196px;
float: left;
}

it just messes up can someone try help me tell me what i done wrong or fix the code thanks

DeejayMachoo$
07-02-2009, 09:42 PM
try adding a spacer before the bottom, after the left and right but before the end of the body e.g



.spacer{
height: 5px;
}
and

<div class="spacer"></div>

Newchip
07-02-2009, 10:49 PM
im confused where to put them exactly :l

Iszak
07-02-2009, 11:16 PM
add margin-top: -10px; on contbot or make it so the navbot doesn't have the margin-bottom, add it to radiostat, navtop, radiostat but make it margin-top. Also another note - you're using id's for everything, yet id's are only meant to be used once, you've used navbot, navmid a few times and that'd make it invalid mark-up.

Newchip
07-02-2009, 11:39 PM
wen i add margins all it does is leave spaces between the images makes the layout ** up any other things i can do

Want to hide these adverts? Register an account for free!