Thread: XHTML sucks
View Single Post
Old 10-29-2006, 09:04 AM  
Jakke PNG
ex-TeenGodFather
 
Jakke PNG's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
Quote:
Originally Posted by quantum-x View Post
No, it works, but it works differently to how you're probably trying to use it.
height: 100% will make it the height of its element/parent element, not cause it to fill the entire page or some empty area that height="100%" in a table would, for example.
Not true. Have you tested it?

ie. in styles:
body, html {height:100%;margin:0px}
table.lala {height:100%}

in xhtml document:

<html>
<body>
<table cellspacing="0" cellpadding="0" class="lala">
<tr><td></td></tr>
</table>
</body>
</html>

..and you claim that'd work?
__________________
..and I'm off.
Jakke PNG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote