It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

Sticky Footer Help

Sticky Footer Help

Postby chrisrussell on Fri Nov 26, 2010 2:01 pm

Hi

Can anyone help me achieve a sticky footer on http://www.bpmtranslation.com

I've tried numerous methods and I'm at a point now where I'm at a total loss.

Many thanks
chrisrussell
 
Posts: 2
Joined: Fri Nov 26, 2010 1:59 pm

Re: Sticky Footer Help

Postby EMaks on Fri Nov 26, 2010 4:18 pm

I'm not sure is this what you need, but try set for #footer position:absolute instead of relative. It'll stick your footer to the bottom of browser. But it looks ugly if height of browsew window is small :)
EMaks
 
Posts: 14
Joined: Wed Nov 24, 2010 10:32 am

Re: Sticky Footer Help

Postby HotNoob on Fri Nov 26, 2010 6:03 pm

just use javascript to get the page heigh when it loads and the window size changes.
:P
HotNoob
100+ Club
 
Posts: 169
Joined: Sun May 02, 2010 1:38 am

Re: Sticky Footer Help

Postby chrisrussell on Fri Nov 26, 2010 6:12 pm

Cheers

I have 2 questions regarding the Javascript comment.

1 - How do I go about getting page height on page load?
2 - Will this method work on iPhones?

Many thanks

Chris
chrisrussell
 
Posts: 2
Joined: Fri Nov 26, 2010 1:59 pm


Who is online

Users browsing this forum: No registered users and 0 guests