100% div height is acting up and i can't find a repeat anywhere online!
I've been searching all over the internet and I can't find someone duplicating this problem, so I'm perplexed.
I understand that in CSS you can only assign a 100% height if it's nested inside something else with an assigned height. So, the solution most people have put forth is to assign the body and html tags 100% height. Then, you're able to assign a div 100% height because it has something to factor from.
Well, it works. But it's taking things too literal. I can assign my div 100%, but it literally only takes 100% of the window. If you scroll down, the div does not continue. Instead the content spills out into an open page. The div literally is restricted to the size of the window. If scroll down so that you can see the bottom edge of the window, then resize the window, you can see the div resizing in real time.
At first it seemed like maybe it was a problem with floats being cleared. But there are only two objects floating and they're both cleared immediately afterwords.
I dont know whats going on, I'm not going to try to fix your code because I'm not so good at CSS and I find it VERY difficult to manage div heights :-(
It sounds like you are aiming for a sticky footer and its not working so I will point you in the direction of Ryan Fait. A rather snazzy designer and coder.
His sticky footer is nice and tidy - I used his code after spending about 3 days just trying to make a sticky footer :-)
Bookmarks