Forums / Templates, Stylesheets, Page Layout / How to make height 100% so footer hugs bottom of browser window?

How to make height 100% so footer hugs bottom of browser window?

Locked

Started by nickharbormarine on 29 Jul 2008, 11:05 PM · Views: 12,920

Results 21 to 22 of 22
This thread is locked. New replies are disabled.
14 May 2010, 2:24 PM
#21
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

How to make height 100% so footer hugs bottom of browser window?

dw08gm:

Nope, spoke too soon, it does not work. :no:

But this works

http://www.zen-cart.com/forum/showpost.php?p=879099&postcount=235

17 Jun 2011, 1:32 PM
#22
gwhitcoe avatar

gwhitcoe

New Zenner

Join Date:
Jun 2011
Posts:
3
Plugin Contributions:
0

Re: How to make height 100% so footer hugs bottom of browser window?

These were the four places that worked for me:

html {height: 100%;}
body {height: 100%;}
#mainWrapper {height: 100%}
#contentMainWrapper {height: 100%}