dtm32236
09-26-2007, 03:28 PM
on this page:
http://www.foremostgroups.com/dev/2007corporate/products/K&B/heritage_bath/delaware/
does anyone know how I can make the div holding the left hand links expand the height of the page (height:100%; )
The containing div CSS is:
#main_content {
width:750px;
min-height:400px;
height:auto !important;
height:400px;
float:left;
border:1px solid #c2d1d7;
border-bottom:none;
border-top:none;
background-color:#ffffff;
}
then the left navigation CSS:
#left_nav {
width:155px;
min-height:400px;
height:auto !important;
height:400px;
float:left;
background-color:#f2f6fa;
border-right:1px solid #c1d2d7;
}
the min-height:400px; height:auto !important; height:400px;
is a min-height hack for IE, and it works for the container (#main_content), but not the #left_nav.
i tried height:100%, and that didn't work...
i figured that applying that to the left navigation, it should make the div expand the height of the page, but it doesn't... it makes left_nav 400px in height, but it doesn't expand with the page.
any ideas how to do this?
sorry for rambling.
http://www.foremostgroups.com/dev/2007corporate/products/K&B/heritage_bath/delaware/
does anyone know how I can make the div holding the left hand links expand the height of the page (height:100%; )
The containing div CSS is:
#main_content {
width:750px;
min-height:400px;
height:auto !important;
height:400px;
float:left;
border:1px solid #c2d1d7;
border-bottom:none;
border-top:none;
background-color:#ffffff;
}
then the left navigation CSS:
#left_nav {
width:155px;
min-height:400px;
height:auto !important;
height:400px;
float:left;
background-color:#f2f6fa;
border-right:1px solid #c1d2d7;
}
the min-height:400px; height:auto !important; height:400px;
is a min-height hack for IE, and it works for the container (#main_content), but not the #left_nav.
i tried height:100%, and that didn't work...
i figured that applying that to the left navigation, it should make the div expand the height of the page, but it doesn't... it makes left_nav 400px in height, but it doesn't expand with the page.
any ideas how to do this?
sorry for rambling.