CSS need help

Soldato
Joined
6 Jan 2005
Posts
3,633
Location
Cambridge
http://www.yhack.co.uk

The two boxes wont go next to each other! One is underneath, how do I make them go side by side?

Code:
#middle{
width:400px;
height: 600px;
border: 1px solid #000000;
background:#999999;
}
#right{
width:200px;
height: 600px;
border: 1px solid #000000;
background:#999999;
}

The bigger one is #middle

Thanks
 
Thanks, but it won't work :(

Code:
#middle{
width:400px;
height: 600px;
border: 1px solid #000000;
background:#999999;
position:relative;
float:left;
}
#right{
width:200px;
height: 600px;
border: 1px solid #000000;
background:#999999;
position:relative;
float:right;
}

this is the code now, have I done it wrong?
 
Back
Top Bottom