Click to See Complete Forum and Search --> : Forcing a fluid div to overflow?
Ferret
08-24-2007, 05:13 PM
Footer problems in IE6.
See:
http://www.josiahkiehl.com/resume/resumeGeneral.html
In Firefox / IE7, it works fine... the problem in IE6 shows when you scroll down. The div doesn't scroll on overflow, it just doesn't ever over flow. It extends to fit the content. I don't want to make it a static height. I like how it adjusts for height in Firefox.
Ideas?
WebJoel
08-24-2007, 05:46 PM
#content
{
width: 560px;
padding-left: 20px;
padding-right: 20px;
padding-top: 1px;
padding-bottom: 35px;
background-color: #002F2F;
color: #EFECCA;
position: absolute;
top: 270px;
bottom: 50px;
z-index: 0;
overflow-y: scroll;
overflow-x: hidden;
} I see no height: foo;, so there is nothing really to 'overflow'. IE6 is 'the problem child', but I am admittedly alittle surprised that this actually works in Fx without a height... :confused:
I suspect that the "position:absolute;" (which lifts this out of the document flow) has something to do with this behavior. The height statement will fix is for IE6, and will work for all other browsers as well.
Kravvitz
08-24-2007, 06:08 PM
But he set the top and bottom properties.
IE5-6/Win wrongly ignores the right property when the left property is set and the bottom property when the top property is set.
To do this in IE6, you need some JavaScript code. For help with that check this (http://www.svendtofte.com/code/max_width_in_ie/) out.
Ferret
08-28-2007, 03:11 PM
That worked for me, thanks!
(Then I went and redid the entire site anyway.. >_>)
Thanks anyway. :P