Table Height

Discussion in 'HTML' started by Olaf Schinkel, Sep 29, 2004.

  1. Hello !

    I´m not sure, if i´m right here.

    My problem:
    (see code below)
    When this is displayed with Opera -> It looks good
    If it is dsiplayed with IE 6 -> It looks wrong

    In Opera i see the flag an then the table ends.
    With IE there is an extra empty line below the flag.
    You can see this on http://schinkel.tv

    Is it my fault or is the IE buggy?

    Any idea?

    Best
    Olaf





    Code:
    echo "<tr class=\"langpix\" align=\"center\">";
    echo "<td>";
    echo "<form name=\"l1\" action=\"$PHP_SELF\">";
    echo "<input type=\"hidden\" name=\"lang_sel\" value=\"german\">";
    echo "<a href=\"javascript:self.document.l1.submit()\"><img src=
    \"http://$p/flags/germany.gif\" border=\"0\">";
    echo "</form>";
    echo "</td><td>";
    echo "<form name=\"l2\" action=\"$PHP_SELF\">";
    echo "<input type=\"hidden\" name=\"lang_sel\" value=\"usa\">";
    echo "<a href=\"javascript:self.document.l2.submit()\"><img src=
    \"http://$p/flags/usa.gif\" border=\"0\">";
    echo "</form>";
    echo "</td";
    echo "</tr>";


    --
    Die Erde ist eine Scheibe
     
    Olaf Schinkel, Sep 29, 2004
    #1
    1. Advertising

  2. Olaf Schinkel

    SpaceGirl Guest

    Olaf Schinkel wrote:
    > Hello !
    >
    > I´m not sure, if i´m right here.
    >
    > My problem:
    > (see code below)
    > When this is displayed with Opera -> It looks good
    > If it is dsiplayed with IE 6 -> It looks wrong
    >
    > In Opera i see the flag an then the table ends.
    > With IE there is an extra empty line below the flag.
    > You can see this on http://schinkel.tv
    >
    > Is it my fault or is the IE buggy?
    >
    > Any idea?
    >
    > Best
    > Olaf
    >
    >
    >
    >
    >
    > Code:
    > echo "<tr class=\"langpix\" align=\"center\">";
    > echo "<td>";
    > echo "<form name=\"l1\" action=\"$PHP_SELF\">";
    > echo "<input type=\"hidden\" name=\"lang_sel\" value=\"german\">";
    > echo "<a href=\"javascript:self.document.l1.submit()\"><img src=
    > \"http://$p/flags/germany.gif\" border=\"0\">";
    > echo "</form>";
    > echo "</td><td>";
    > echo "<form name=\"l2\" action=\"$PHP_SELF\">";
    > echo "<input type=\"hidden\" name=\"lang_sel\" value=\"usa\">";
    > echo "<a href=\"javascript:self.document.l2.submit()\"><img src=
    > \"http://$p/flags/usa.gif\" border=\"0\">";
    > echo "</form>";
    > echo "</td";
    > echo "</tr>";
    >
    >


    IE is buggy.

    IE displays trailing spaces on forms; you can kill the space by changing
    your form tag to read: <form style="margin-bottom:0px;" ...>

    That should force IE to work out that you really dont want a random
    space at the bottom :)

    --


    x theSpaceGirl (miranda)

    # lead designer @ http://www.dhnewmedia.com #
    # remove NO SPAM to email, or use form on website #
     
    SpaceGirl, Sep 29, 2004
    #2
    1. Advertising

  3. [...]

    > IE is buggy.
    >
    > IE displays trailing spaces on forms; you can kill the space by
    > changing your form tag to read: <form style="margin-bottom:0px;" ...>
    >
    > That should force IE to work out that you really dont want a random
    > space at the bottom :)

    OK. This works fine.

    Best Olaf
     
    Olaf Schinkel, Sep 29, 2004
    #3
    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,975
    roma1123
    Mar 24, 2011
  2. Replies:
    0
    Views:
    581
  3. Wotney
    Replies:
    1
    Views:
    549
    Flinky Wisty Pomm
    Oct 25, 2006
  4. tshad
    Replies:
    1
    Views:
    1,733
    bruce barker
    Mar 8, 2007
  5. john T
    Replies:
    7
    Views:
    246
    Richard Formby
    Feb 19, 2004
Loading...

Share This Page