|
Hey guys, loving the look of this forum! wonder if anyone can help me!
i am remaking a portfolio using divs.
Basicly here is my code:
<div id="main">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
</div>
And the CSS:
#main {
width:800px;
min-height: 500px;
height:inherit;
}
.left {
float:left;
width: 130px;
padding: 5px;
}
.center {
float:left;
width: 395px;
padding: 5px;
height:100%;
}
.right {
float:right;
width: 242px;
padding: 5px;
height: 590px;
}
My issue at the moment is that the content displays fine aslong as its less that the min-height as set as 500px. But if the text overflows this, firefox does not expand the div to fit the content whereas IE7 does.
Please tell me what im doing wrong!
Last edited by lewisbuttress; 07-30-2008 at 11:38 AM..
|