Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Table height

Reply
Thread Tools

Table height

 
 
Terje Sæternes
Guest
Posts: n/a
 
      08-10-2004
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>


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      08-10-2004
On Tue, 10 Aug 2004 18:57:28 +0200, Terje Sæternes
<(E-Mail Removed)> declared in alt.html:

> In my page I have several levels of tables, as in table1 contain table2
> whitch contains table3.


Why would you have 3 levels of nested tables?
http://www.allmyfaqs.com/faq.pl?Tableless_layouts

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
table in table -> 100% height does not work Paul Schmidinger HTML 3 03-24-2011 03:47 PM
textbox height different than input height tshad ASP .Net 1 03-08-2007 10:04 PM
measuring web controls height at runtime (or converting .height % to px) Wotney ASP .Net 1 10-25-2006 01:39 PM
how to get specific cell height without hard-coding a height value laredotornado@zipmail.com HTML 0 08-19-2006 08:13 PM
Detecting screen.height for use in <Table Height=> john T Javascript 7 02-19-2004 05:46 AM



Advertisments