PDA

View Full Version : Help with footer/vertical alignment.



Doppler
26 Mar 2007, 01:42 PM
I want to put a copyright statement/notice at the bottom of my page and centered, I have it centered, but I cannot get it to sit at the bottom of my page for some reason.

Is there an easy vertical align tag or footer where I can just have the <h1>Copyright</h1> sit at the bottom of my page?

Preferred in HTML but could also use CSS.

Thanks.

Wickham
26 Mar 2007, 02:09 PM
You can use position: fixed; bottom: 0; in modern browsers like Firefox and IE7 but it doesn't work in IE6 or other old browsers.

Bottom: 0 is not recommended for old browsers as the footer will get covered if a viewer uses a very small window so that higher content needs space and covers the footer.

See http://www.wickham43.supanet.com/tutorial/headerfooterfix.html