Problem with valid table-height

Discussion in 'HTML' started by =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jun 26, 2005.

  1. Hello,

    I´ve a problem with the following lines:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    ....

    <table width="100%" height="100%">
    <tr align="center" valign="middle">

    <td> <a href="uberuns.htm" onMouseOut="MM_swapImgRestore()"
    onMouseOver="MM_swapImage('Image1','','images/box02.gif',1)"><img
    src="images/box01.gif" alt="Weiter zu Pixelpearls.De" name="Image1"
    width="334" height="139" border="0"></a>
    </td>
    </tr>
    </table>


    .....


    http://validator.w3.org/ says:

    Line 24, column 27: there is no attribute "HEIGHT"

    <table width="100%" height="100%">


    What do I do wrong?
    Isn´t there an attribute height? So how do I reach that a table fills a
    whole site?


    Bye,
    Martin

    --
    http://www.completefreestuff.com
    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jun 26, 2005
    #1
    1. Advertising

  2. Martin Pöpping wrote:
    > Hello,
    >
    > I´ve a problem with the following lines:
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    >
    > ...
    >
    > <table width="100%" height="100%">
    > <tr align="center" valign="middle">
    >
    > <td> <a href="uberuns.htm" onMouseOut="MM_swapImgRestore()"
    > onMouseOver="MM_swapImage('Image1','','images/box02.gif',1)"><img
    > src="images/box01.gif" alt="Weiter zu Pixelpearls.De" name="Image1"
    > width="334" height="139" border="0"></a>
    > </td>
    > </tr>
    > </table>
    >
    >
    > ....
    >
    >
    > http://validator.w3.org/ says:
    >
    > Line 24, column 27: there is no attribute "HEIGHT"
    >
    > <table width="100%" height="100%">
    >
    >
    > What do I do wrong?
    > Isn´t there an attribute height? So how do I reach that a table fills a
    > whole site?

    Put the height's and width's in a stylesheet e.g.

    Some where between the <head>
    <style type="text/css">
    table {width: 100%; height: 100%;}
    </style>
    --
    Edwin van der Vaart
    http://www.semi-conductor.nl/ Links to Semiconductors sites
    http://www.evandervaart.nl/ Under construction
    Edwin van der Vaart, Jun 26, 2005
    #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,934
    roma1123
    Mar 24, 2011
  2. Replies:
    0
    Views:
    551
  3. Wotney
    Replies:
    1
    Views:
    530
    Flinky Wisty Pomm
    Oct 25, 2006
  4. perspolis
    Replies:
    1
    Views:
    2,564
    Mark Rae
    Jan 23, 2007
  5. john T
    Replies:
    7
    Views:
    225
    Richard Formby
    Feb 19, 2004
Loading...

Share This Page