frozenpeas
Technical User
Hello,
On this page, the footer currently remains in the same location, regardless of the page contents. The problem is when you select one of the items from the 2d menu, the footer needs to shift down... but it remains in the same place (since I have the top property set to 100%). As a result, content runs off the page and the footer floats above.
What should I have the top property set as to allow the footer to move with the expanding content? I have tried using the bottom property as well, but with no success.
Thank you.
frozenpeas
On this page, the footer currently remains in the same location, regardless of the page contents. The problem is when you select one of the items from the 2d menu, the footer needs to shift down... but it remains in the same place (since I have the top property set to 100%). As a result, content runs off the page and the footer floats above.
Code:
#main{
position:absolute;
width:386px;
height:253px;
left:0;
top:265px;
margin:0 0 0 0;
padding:0 12px 12px 12px;
background-image:url(../images/bg_right.gif);
background-repeat:repeat-y;
}
#footer{
position:absolute;
background-image:url(../images/bg_footer.gif);
background-repeat:repeat-x;
width:410px;
height:20px;
left:1px;
top:100%;
margin:0 0 0 0;
padding:15px 0 7px 0;
background-color:#FFF;
font-size:10px;
color:#CCC;
text-align:right;
}
Code:
<div id="main"><!-- contains dynamic content --></div>
<div id="footer"><!-- footer content --></</div>
What should I have the top property set as to allow the footer to move with the expanding content? I have tried using the bottom property as well, but with no success.
Thank you.
frozenpeas