Table height

Discussion in 'HTML' started by Terje Sæternes, Aug 10, 2004.

  1. 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>
     
    Terje Sæternes, Aug 10, 2004
    #1
    1. Advertising

  2. Terje Sæternes

    Mark Parnell Guest

    Mark Parnell, Aug 10, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Schmidinger

    table in table -> 100% height does not work

    Paul Schmidinger, Aug 10, 2004, in forum: HTML
    Replies:
    3
    Views:
    2,969
    roma1123
    Mar 24, 2011
  2. Replies:
    0
    Views:
    575
  3. Wotney
    Replies:
    1
    Views:
    544
    Flinky Wisty Pomm
    Oct 25, 2006
  4. tshad
    Replies:
    1
    Views:
    1,725
    bruce barker
    Mar 8, 2007
  5. john T
    Replies:
    7
    Views:
    240
    Richard Formby
    Feb 19, 2004
Loading...

Share This Page