I have all my pages designed and done, but one page with sales people has more content than can be shown on the screen at one time forcing the user to scroll down. My #footer shows up at the bottom of the window and when the user scrolls up the #footer content scrolls up with the page content behind and underneath. How can I force the #footer to show under the #main container?
CSS:
/* everything is inside the wrap container */
#wrap{
width:800px;
margin:0 auto;
background:#FFFFFF;
}
#header{
height:81px;
min-width:753px;
overflow:hidden;
text-align:center;
background:#FFFFFF url(../PNGfiles/compass.png) center no-repeat;
}
#nav{
height:15px;
width:100%;
text-align:center;
min-width:753px;
border-bottom:#039 solid;
border-bottom-width:9px;
}
#main{
position:relative;
display:block;
top:5px;
left:0;
width:753px;
padding:0;
text-align: left;
}
#footer{
position:absolute;
bottom:-3px;
width:100%;
height:40px;
border-top:#ADADAD 1px dashed;
text-align:center;
padding:3px;
font-size:8pt;
background:#FFFFFF;
left: 2px;
}
Thanks!
CSS:
/* everything is inside the wrap container */
#wrap{
width:800px;
margin:0 auto;
background:#FFFFFF;
}
#header{
height:81px;
min-width:753px;
overflow:hidden;
text-align:center;
background:#FFFFFF url(../PNGfiles/compass.png) center no-repeat;
}
#nav{
height:15px;
width:100%;
text-align:center;
min-width:753px;
border-bottom:#039 solid;
border-bottom-width:9px;
}
#main{
position:relative;
display:block;
top:5px;
left:0;
width:753px;
padding:0;
text-align: left;
}
#footer{
position:absolute;
bottom:-3px;
width:100%;
height:40px;
border-top:#ADADAD 1px dashed;
text-align:center;
padding:3px;
font-size:8pt;
background:#FFFFFF;
left: 2px;
}
Thanks!