PDA

View Full Version : css help



Colin-Roberts
26-11-2007, 11:18 PM
http://colin-roberts.net/coding/
how do i make it so there right beside eachother
if you click on home you'll see the home content loads below the left column i've tried float:left float:right it made it worse.

Invent
27-11-2007, 12:29 AM
#containerright
{
background:#FFFFFF none repeat scroll 0%;
float:left;
height:100%;
text-align:center;
}




#containerleft
{
background:#E8E8E8 none repeat scroll 0%;
float:left;
height:100%;
min-height:400px;
text-align:center;
width:196px;
}

Colin-Roberts
27-11-2007, 12:53 AM
http://colin-roberts.net/coding/ Thanks invent but now the container css isn't expanding with it all and bringing the white background down with it. Without a width attribute in containterright the container doesn't have a background.

Invent
27-11-2007, 03:43 AM
#containerright
{
background:#FFFFFF none repeat scroll 0% 50%;
float:left;
height:100%;
text-align:center;
width:80%;
}




#containerleft
{
background:#E8E8E8 none repeat scroll 0% 50%;
float:left;
height:100%;
min-height:400px;
text-align:center;
width:20%;
}


?

RichardKnox
27-11-2007, 07:05 PM
Add overflow: hidden; to the main container?

Colin-Roberts
27-11-2007, 10:17 PM
nope the news work as you can see but any other not sized page is still loading at 80% below.

zeJosh
27-11-2007, 10:21 PM
Hmm..


You did update Divs//??

Colin-Roberts
27-11-2007, 10:27 PM
update divs?

QuickScriptz
27-11-2007, 10:32 PM
Basically what I do is this:



#left{
float: left;
width: 500px;
}
#right{
margin-left: 505px;
}

kk.
27-11-2007, 10:43 PM
cant you jsut type your text somewhere else eg:

<div id="container">
<div id="containerleft"></br></br></br><div id="navitop"></div><div class="style2" id="navimiddle">

test<br>
Terms Of Use<br>
Contact

</div>
<div id="navibottom"></div></div>
<font size="1" face="Verdana"><div id="containerright"><div

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