C
Christophe Darville
Hello,
I want to move my html pages to be html 4.01 standard (strict mode).
I run into the following problem with a table (having 2 rows).
I want my table to take up the whole page (height and width = 100%).
I want my first row to take up exactly 60px.
I want my second row to take up the rest of the page.
In quirk mode, I was able to do this by using attribute height="*" for the
second row, but in html 4.01, I do not find a way to make it works.
I have tried something like (and many other things) :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html style="margin:0;padding:0;height:100%">
<head></head>
<body style="margin:0;padding:0;height:100%">
<table border="1" CELLPADDING="0" CELLSPACING="0"
style="height:100%;width:100%">
<tr style="height:60px">
<td style="height:60px">menu</td>
</tr>
<tr style="height:*">
<td style="height:*">body</td>
</tr>
</table>
</body>
</html>
Any idea ?
Thank you,
Christophe
I want to move my html pages to be html 4.01 standard (strict mode).
I run into the following problem with a table (having 2 rows).
I want my table to take up the whole page (height and width = 100%).
I want my first row to take up exactly 60px.
I want my second row to take up the rest of the page.
In quirk mode, I was able to do this by using attribute height="*" for the
second row, but in html 4.01, I do not find a way to make it works.
I have tried something like (and many other things) :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html style="margin:0;padding:0;height:100%">
<head></head>
<body style="margin:0;padding:0;height:100%">
<table border="1" CELLPADDING="0" CELLSPACING="0"
style="height:100%;width:100%">
<tr style="height:60px">
<td style="height:60px">menu</td>
</tr>
<tr style="height:*">
<td style="height:*">body</td>
</tr>
</table>
</body>
</html>
Any idea ?
Thank you,
Christophe