How to make content take up 100% of height and width
- by Hiro2k
I'm so close but I can't get this to work like I want it. I'm trying to get the header and the menu to always be visible and have the content take up the rest of the view screen and have it's own scrollbar when it overflows. The problem is that the width of the content isn't being stretched to the right and I get a scroll bar in the middle of my page. I also can't get it to take up the rest of the remaining window height, if I set the height to 100% it wants to use the whole window height instead of what is left.
I'm only working with IE7 or better so need to worry about javascript and am not averse to using jQuery if it can solve this problem!
http://pastebin.com/x31mGtXr