PDA

View Full Version : CSS - Footer.



drunkel
August 15th, 2008, 03:25 PM
So I have this footer, and it seems to work. I just want some critiques or pointers as to if this is crappy coding, what I could change to do better.. etc.

It's a browser wide footer, w/ some links. Designed to sit at the bottom of the page. 40px high.

here is the css.

#footer {

position: absolute;
height: 40px;
width: 100%;
overflow: hidden;
margin: 0;
padding: 0;
background: #a7e24b;
bottom: auto;
left: 0;
z-index: 200;

}

Thanks.

Templarian
August 15th, 2008, 03:51 PM
Nope that looks good, I made a site with something similar, but mine appears to have a css hack in it, but as long as yours works in IE then the hack was for something else in mine.

BTW, your current site has a little bit of extra space on the horizontal scroll bar might want to fix that.

drunkel
August 15th, 2008, 04:20 PM
Ha, thanks. I haven't honestly touched anything on my site in about a year.

I guess it works in IE... I am FF/OS X. Haven't heard any complaints yet, so...

Thx.

drunkel
August 15th, 2008, 07:08 PM
It's been a PITA.. this table keeps busting it up. So I changed position to fixed instead....

grrrrr... it's friday though.