tags:

views:

108

answers:

4

Is there any way we can fix the footer to the bottom of the window even at the time of vertical scroll. I have gone through some examples, but those never work with the vertical scroll.

+1  A: 

Refer this

http://limpid.nl/lab/css/fixed/footer

RSK
A: 

I found this interesting article that may help you do it, I believe it's well explained, there's even an example.

Soufiane Hassou
+1  A: 

Check out the sample and its google code base

Ramesh Vel
A: 

Here is your css

html, body {height:100%;padding:0;margin:0;}
#footer {position:absolute;bottom:0;left:0;width:100%;background-color:#f00;}
#scrollingbody {overflow:auto;height:100%;}

Here is your html

<div id="scrollingbody">content goes here</div>
<div id="footer">here is footer</div>
Zoidberg
position: absolute; will not supported in IE 6 browsers
RSK
Your saying the CSS attribute position:absolute is not supported in IE6? Having actually used it in IE 6, I can say for sure that it does because I just tested it!
Zoidberg