Hi EightNineThree and others !
I just followed your links regarding the height and percentage !
Try and look at the source below, you will probably notice that
the IFRAME is bigger than expected !
I know I should try to render the surrounding cells but, and
this is a big but, how can I do that, if I do not know the size
then how can I predict the size.
I use this very technique on the following site :
http://www.tra-tanr.dk/sumped
(It's on purpose that there are no DTD !)
As you can see from that site, the only firm size is the two
cells in the top of the table !
The other surrounding cells have text, and depending on user
settings on client and css settings, the size of the text might
vary a lot.
How does one actually acomplish to manage this with css ?
It would be great if the upcoming HTML and/or CSS languages
had something like align='client' (use entire client area) ;-)
BTW! What is the actual effect of setting html to the same as
body in your css ?
Thanks
Olrik Larsen
private: mailto:
[email protected]
work: mailto:
[email protected]
---------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd">
<head>
<title>100% Table With CSS, Valid HTML Strict</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<style type="text/css">
html,body{margin:0;padding:0;width:100%;height:100%;}
table{width:100%;height:100%;border:3px solid red;}
iframe{width:100%;height:100%;}
</style>
</head>
<body>
<table>
<iframe src='percentheightpg2.html'
name='bigframe'></iframe></td></tr>
<tr valign='bottom'><td>blah</td><td align='right'>blah</td></tr>
</table>
</body>
</html>
---------------------------------------------------------------