Hi,
My layout consists of a sticky header/footer with content that has
a scrollbar - the problem is the content is being hidden behind the header and footer.
Have tried adding margin to sort issue which pushes content down from top but still cant see bottom.
CSS
PAGE
any ideas welcome
My layout consists of a sticky header/footer with content that has
a scrollbar - the problem is the content is being hidden behind the header and footer.
Have tried adding margin to sort issue which pushes content down from top but still cant see bottom.
CSS
Code:
#header {
position:absolute;
top:0;
left:0;
height:100px;
width:100%;
}
#content {
width:100%;
height: 100%;
overflow-x:hidden;
overflow-y:scroll;
/*margins to stop content from being hidden by header/footer*/
margin-top:107px;
/*margin-bottom:25px;*/
}
#footer {
width:100%;
background-color:#000000;
height:25px;
color:#FFFFFF;
padding:5px;
border-top:#cccccc 4px solid;
position:absolute; bottom:0; left:0;
}
PAGE
Code:
<div id="header"></div>
<div id="content"></div>
<div id="footer"></div>
any ideas welcome