Firefox and IE
Hey,
I've been trying to figure this out all day,
I just redesigned my website, nothingsite.com, and it works great in Firefox but in IE it leaves a space between the header and the middle section...
<html>
<head>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<!-- Body Begin -->
<body>
<!-- Main Table -->
<center>
<table width="660px" border="0" cellpadding="0" cellspacing="0">
<!-- Header -->
<tr><td>
<img src="images/header.jpg">
</td></tr>
<!-- Middle -->
<tr class="middle">
<td>
<table align="center" width=94% border="0" cellpadding="0" cellspacing="0">
<tr><td valign="top" width=20%><p>
<b>Navigation</b>
-<a href="index.php">News</a><br />
-<a href="videos.php">Videos</a><br />
-<a href="gallery.php">Gallery</a><br />
-<a href="s1lnt0.php">S1lnt0</a><br />
-<a href="aimicons.php">AIM Icons</a><br />
-<a href="contact.php">Contact</a><br />
-<a href="forum.php">Forum</a><br /><br />
<b>Links</b><br />
-<a href="http://opensourcerules.net">OSR</a><br />
</p></td>
<td valign="top"><p>
<b><font size="+1">Notice</font></b><br /><br />
Website is still under construction. Should be fully up within a few days.
</p></td>
</tr>
</table>
</td>
</tr>
<!-- Footer -->
<tr><td>
<img src="images/footer.jpg">
</td></tr>
<!-- End Body
</body>
</table>
</center>
</html>
Can anybody tell me what the problem is?
bja888 (not verified) posted this at 00:43 — 14th October 2005.
They have: 5,633 posts
Joined: Jan 1970
<tr><td>
<img src="images/header.jpg">
</td></tr>
to
<tr><td>
<img src="images/header.jpg"></td></tr>
s1lnt0 posted this at 01:33 — 14th October 2005.
They have: 4 posts
Joined: Oct 2005
thanks so much
Busy posted this at 08:28 — 14th October 2005.
He has: 6,151 posts
Joined: May 2001
The thing should really be on one line
couple of other faults as well:
should be
shouldn't be there, you should use CSS
the end of your page is out of order should be
shouldn't be used, align="center" should be used in the first table tag.
Only reason I point these out is you've started with XHTML so you should continue with it.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.