hey guys, i’m oji. this is my first time dabbling in css.
i have a website with a css file as follows:
html,body{
height: 100%;}
body{
background: #e2e2e2 url(images/bodybg.png) repeat-x;
font: 12 arial,verdana;
margin: 0;
padding: 0;}
#body-wrapper{
background: #4a4a4a;
width: 100%;
margin: 0;}
#r-column{
width: 152px;}
#c-column{
margin: 0 auto;
width: 625px;}
#l-column{;}
i want a 3-column layout where if c-column stretches (and as a result body-wrapper also stretches) then r-column and l-column stretch as well.
i tried a 3-column layout using floated divs but issues arose where the background/borders wouldn’t stretch to accommodate content greater than 100% (which i had set).
also, when i floated the column divs their height didn’t seem to affect the length of body-wrapper.
any solutions?