468,301 Members | 1,484 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

Tables: <tr> difference in Firefox/IE

1
I'm having quite a problem with the height in one of my rows in a table. Please see http://www.djcyrix.be/acu/ in both Firefox and IE and you'll see what I mean. Firefox displays the table correctly, while IE won't. I've inserted a 'height'-tag everywhere where possible and still IE seems to add all that whitespace to my row.
this is the code used for this particular table(i know there are too much height-tags, that's because i've been putting them everywhere to get it work but it won't, while all of it works in Firefox.):

<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
<tr height="15px"></tr>
<tr height="173px" style="height:173px;">
<td width="15px" rowspan = "4"></td>
<td width="186px" valign="top" height="173px"><img src="images/skinneedle.gif" /></td>
<td width="15px" rowspan="4"></td>
<td align="left" rowspan="4">
<?php
if(!isset($_GET['page'])) {
include("home.php");
} else {
$page = $_REQUEST['page'];
include($page.".php");
}
?></td>
<td width="15px" rowspan="4"></td>
</tr>
<tr>
<td background="images/skin.gif" style="background-repeat:repeat; vertical-align:text-top"><font style="color:#FFFFFF; font-style:italic; font-stretch:condensed">&nbsp;&nbsp;ACUPUNCTUUR<br />&nbsp;&nbsp;PETER VANOVERBEKE</font></td>
</tr>
</table>
Apr 10 '07 #1
1 2026
drhowarddrfine
7,435 Expert 4TB
Validate your html for your list of errors. Also, the <embed> tag has been deprecated for a long time in favor of <object>. You should switch to that.
Apr 10 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by El Diablo | last post: by
5 posts views Thread by Thierry Schembri | last post: by
3 posts views Thread by Christopher Benson-Manica | last post: by
2 posts views Thread by c.anandkumar | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.