
Originally Posted by
Nile
I think so, because I tried both of 'em
and it works perfectly.
Are you sure it did what it was suppose to?

Originally Posted by
Twey
The 100% height will be ignored, because you don't have an explicit height for the parent element. You also need 100% height on the <body> and the <html>.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Hello World!</title>
</head>
<body style="height:100%;">
<!-- this shows up as nothing//-->
<div style="height:100%;width:100%;background-color:#123456;"></div>
</body>
</html>
Did not work. What should I do to get the effect I am obviously seeking?
Edit: NVM! Twey you rock! I added the height to the HTML tag and it works!
And DJR33, what is wrong with the color?
AA | BB | CC
12 | 34 | 56
Bookmarks