LouPhi
09-25-2008, 08:44 AM
I have a #content DIV with a min-height set as follows:
#content {
margin-top:0px;
padding-bottom:5px;
position:relative;
padding-top: 3px;
min-height: 450px;
padding-left: 2px;
clear: both;
_height: 450px;
}
* html #content {
height: 450px;
overflow: visible;
}
This DIV has sub-DIVs (content-left and content-main)....
#content div {
float:left;
}
#content-left {
width:145px;
top:0;
left:0px;
padding-left: 5px;
}
#content-main {
position:absolute;
top:0;
right:0;
margin-left:2px;
width:630px;
margin-right: 4px;
padding-left: 10px;
}
The #content-main DIV is the one which is likely to have stuff in it which would force the page to grown.... such as http://www.magickingdom.co.uk/dev/leaflets.php
The list as you can see it now, is about 6 items longer... but they're disappearing behind the #footer DIV (in Firefox) and just jump below the #footer DIV (in IE).
Can anybody give me a pointer as to how I can rectify the min-height problem, do I need to apply this to the content-main DIV instead (I tried this but then the content-left stuff went all squewed)??
Any ideas??
LP
#content {
margin-top:0px;
padding-bottom:5px;
position:relative;
padding-top: 3px;
min-height: 450px;
padding-left: 2px;
clear: both;
_height: 450px;
}
* html #content {
height: 450px;
overflow: visible;
}
This DIV has sub-DIVs (content-left and content-main)....
#content div {
float:left;
}
#content-left {
width:145px;
top:0;
left:0px;
padding-left: 5px;
}
#content-main {
position:absolute;
top:0;
right:0;
margin-left:2px;
width:630px;
margin-right: 4px;
padding-left: 10px;
}
The #content-main DIV is the one which is likely to have stuff in it which would force the page to grown.... such as http://www.magickingdom.co.uk/dev/leaflets.php
The list as you can see it now, is about 6 items longer... but they're disappearing behind the #footer DIV (in Firefox) and just jump below the #footer DIV (in IE).
Can anybody give me a pointer as to how I can rectify the min-height problem, do I need to apply this to the content-main DIV instead (I tried this but then the content-left stuff went all squewed)??
Any ideas??
LP