...

View Full Version : IE6 Auto Height



jayemvee
10-24-2007, 10:35 PM
I am having issues with auto height in IE6..

I have 2 relative divs.. where the div on the left (navigation) needs to be the same height as div 2 no matter what. I can't do it another way it has to be the same height.


#col-one
{
width: 165px;
height: auto; !important; height: 629px;
background-color: #f0f0f0;
position: absolute;
top: 2px;
left: 0px;
z-index: 2;
border-color: #264795;
border-style: solid;
border-width: 5px 0px 0px 0px;
}
#subpage_content > #col-one
{
width: 165px;
height: auto; !important; height: 629px;
background-color: #f0f0f0;
position: absolute;
top: 2px;
left: 0px;
z-index: 2;
border-color: #264795;
border-style: solid;
border-width: 5px 0px 0px 0px;
}

#col-two
{
width: 542px;
background-color: #f4f4f4;
position: relative;
top: 2px;
left: 168px;
z-index: 3;
height: 629px;
padding: 0px 0px 0px 0px;
border-color: #264795;
border-style: solid;
border-width: 5px 0px 0px 0px;
}
#subpage_content > #col-two
{
width: 542px;
background-color: #f4f4f4;
position: relative;
top: 2px;
left: 168px;
z-index: 3;
min-height: 629px;
height: auto;
padding: 0px 0px 0px 0px;
border-color: #264795;
border-style: solid;
border-width: 5px 0px 0px 0px;
}


Are the elements in question...

Again... #col-2 will auto adjust for content and col-one needs to follow suit...

jayemvee
10-24-2007, 10:41 PM
Sorry this is the parent element


#subpage_content
{
position: relative;
width: 895px;
background-color: #ffffff;
padding: 0px 0px 5px 0px;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum