Re:Ask HN: Is there a way to do this layout in HTML 5?
by ge on Saturday July 28, 2012 @10:42AM
(#4305621)
Same problem as with "thegooley"s solution.
Re:Ask HN: Is there a way to do this layout in HTML 5?
by tambourine_man on Saturday July 28, 2012 @10:55AM
(#4305639)
change height: 10% to min-height: 10% in “.header, .footer” ?
Re:Ask HN: Is there a way to do this layout in HTML 5?
by ge on Saturday July 28, 2012 @10:59AM
(#4305649)
Not the same. In the original, the footer adopts its height to its content. Putting in a min-height of 10% will not accomplish that. You can simply verify it by comparing your solution and the original visually. They look completely different.
Please be aware, that meanwhile there is a working solution here:
http://raw.gibney.org/height_test_standards_2
It was suggested by jlft but his post got no upvotes, so its burried almost on the bottom of this thread.
He asked for the layout in HTML5, not the same code. Separating content from presentation is a better practice than shoveling it all in a table.