View Single Post
  #1 (permalink)  
Old 05-13-2008, 09:13 AM
Great Elephant Great Elephant is offline
Master Babbler
 
Join Date: May 2008
Location: Toronto
Posts: 138
Default The Dreaded 100% Height Question!!!

Right now I'm playing around with html/css to try and find problems that might hider what I envious design-wise for my website

This is my problem and from the Google searches I've made it seems pretty prevalent

I want to be able to use percentage based table alignment to make sure that images, for example, stay centered no matter how the browser window is set. But there seems to be a problem with IE and Firefox the table won't stretch down to the bottom of the page

I'm sure some of you have had this problem what am I doing wrong? Is there a solution?

Heres the simple code below

Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="100%" height="100%" border="1">
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>
Reply With Quote