div at bottom of page.

Posted by Ted on Stack Overflow See other posts from Stack Overflow or by Ted
Published on 2010-05-07T08:48:52Z Indexed on 2010/05/07 8:58 UTC
Read the original article Hit count: 182

Filed under:
|

I have a div which I am using as a footer to display some content. I have put the style as:

.pageFooter{
    position:absolute;
    bottom:0px;
    width:100%;
    height:25px;
    background:#e6e6e6;
}

This style works well when there is not content in the body of page. But when I populate the page with content, say datagrid, the div is overlaps data in datagrid. What changes should I make to the style to let the div be at the bottom always. I am using IE* to view the pages.

© Stack Overflow or respective owner

Related posts about html

Related posts about css