valhalla8
05-30-2010, 01:26 AM
This is the first website I've ever made, so please excuse my ignorance. I'm trying to make a personal website but it's in its very early stages (the code doesn't validate, visual errors, etc.). I'm trying to make my subsections expand to fill the screen vertically even if there's no content there, but I can't figure out how.
A version of the site is posted here:
http://personal.psu.edu/zcb5012/testsite22.html
If you open it, you'll see what I mean about expanding the subsections.
I tried using min-height:100% on all the subsection wrappers (btw, I'm not worried about IE6), and that worked alright until I applied an XHTML doctype to the page. Does min-height just not work with XHTML? Should I use a different doctype? I couldn't find out online :/
Any help would be appreciated. Thanks a lot!
A version of the site is posted here:
http://personal.psu.edu/zcb5012/testsite22.html
If you open it, you'll see what I mean about expanding the subsections.
I tried using min-height:100% on all the subsection wrappers (btw, I'm not worried about IE6), and that worked alright until I applied an XHTML doctype to the page. Does min-height just not work with XHTML? Should I use a different doctype? I couldn't find out online :/
Any help would be appreciated. Thanks a lot!