ze0nyx
02-17-2005, 07:13 AM
I have the following style sheet:table.main {
height: 100%;
}And the following document:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<link rel="StyleSheet" href="style.css" />
</head>
<body>
<table class="main">
<tr>
<td>
something
</td>
</tr>
</table>
</body>
</html>The code validates. But the table's height is very short, just to fit the text in. How do I fix this? I use Mozilla Firefox.
height: 100%;
}And the following document:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<link rel="StyleSheet" href="style.css" />
</head>
<body>
<table class="main">
<tr>
<td>
something
</td>
</tr>
</table>
</body>
</html>The code validates. But the table's height is very short, just to fit the text in. How do I fix this? I use Mozilla Firefox.