1.910.234.0969 - Call today!

Wednesday, December 6, 2006

Keeping site footer at the bottom

I recently ran into a CSS issue that I could not figure out. I wound up contacting Richard over at Akira Media about it and he sent me to this site:

http://www.themaninblue.com/writing/perspective/2005/08/29/

It describes a technique using CSS that will keep a footer at the bottom of a browser window no matter how big the browser gets or how big the content gets.

Note: you must know the height of the footer for it to work and I wound up having to use some line breaks (
) inside the div tag right before the #footer div to make it work. I tested it on IE7 and the latest Mozilla and it seemed to work ok.

Labels: ,

2 Comments:

Blogger AkiraMedia said...

Glad footerstickalt worked out for you. It's a nifty little bit of CSS.

December 15, 2006 1:07:00 PM PST  
Blogger Jonathan Richey said...

Ok, now I need some nice code to make subnavs using CSS. I used to use Dreamweaver's built in Javascript subnav maker but it is ugly.

Anybody know of a better way using css?

January 25, 2007 10:33:00 AM PST  

Post a Comment

Links to this post:

Create a Link

<< Home

About Us | Sitemap | Common Terms

Web design for Wilmington NC and surrounding areas - Impulse Web Solutions, Inc.

Wilmington, NC 28405 :: 910.234.0969

Based on valid XHTML 1.0 and CSS 2.0 code