January 16th, 2013, 01:05 AM
Stretch table/div to bottom of page.
So, I'm able to get this working when I don't add a doctype to the webpage. However, I'd like to know if this is possible with a compliant webpage.
I used to be able to adjust the height of a div or table to something like 95% in the CSS, and it would go practically to the bottom of the page without making you scroll.
Even if I add that now, however, the page shrinks up into a tiny mess.
My solution could be to remove the doctype, but this page needs to be seen readable in all browsers. (Even old people who don't understand that using IE is a terrible idea.)
Before I slap on an example of my code or CSS, any ideas on how to do this?
January 17th, 2013, 01:10 PM
maybe you havent set body and html to 100%? or the parent of the table. it works for me on jsbin simply assigning 100% to table. Ofc jsbin.com has some default css.