Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tables 100% - basic question

Status
Not open for further replies.

michelley79

Technical User
Joined
Aug 15, 2005
Messages
5
Location
AU
Hello
I just want to make a table that is 100% of the browser's height. It looks 100% height until i preview it and then it is the height of the content inside of it.

How do I make a table that is 100% high??
My code is below if that helps.





<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Adobe GoLive" />
<title>Untitled Page</title>
<link href="css/basic.css" rel="stylesheet" type="text/css" media="all" />
</head>

<body>
<table width="800" border="1" cellspacing="2" cellpadding="0" bgcolor="#0092c7" height="100%">
<tr>
<td></td>
</tr>
</table>
<p></p>
</body>

</html>
 
You don't. Most browsers, including IE, will always make the table as short as it can to hold the content.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top