Table height

T

Terje Sæternes

Hey folks... I've got a strange problem that I hope anyone can help me with.
I use CSS to set the height of my tables to 100%, the CSS code is
---
..tabell{ height: 100%; }
---
In my page I have several levels of tables, as in table1 contain table2
whitch contains table3. The problem comes on table 3, this one won't be 100%
height. In Opera off course ;)

The code for the testtable page is
---
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../css/stylesheet.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100" border="0" cellpadding="0" cellspacing="0"
bgcolor="#FFFF00" class="tabell">
<tr>
<td valign="top"><table width="90" border="0" cellpadding="0"
cellspacing="0" bgcolor="#FF0033" class="tabell">
<tr>
<td valign="top"><table width="80" border="0" cellpadding="0"
cellspacing="0" bgcolor="#0033FF" class="tabell">
<tr>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top