Table Height

O

Olaf Schinkel

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>";
 
S

SpaceGirl

Olaf said:
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 #
 
O

Olaf Schinkel

[...]
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top