views:

74

answers:

1

I want a div element, in a bottom of window. like a div in bottom page of old facebook.com. or like a chat div of initial facebook.com

+5  A: 

You can use position: fixed; bottom: 0px. But won't work in IE6.

<style type="text/css">
    #footer { position: fixed; bottom: 0px; }
</style>

<div id="footer">I am at the bottom of the window</div>
rahul
thanks, it works
loviji
There are also few workarounds for IE6 support. Try searching for ie-fixed.htc - the .htc file will force IE to understand the position.
easwee