Forum Moderators: open

Message Too Old, No Replies

Table Gaps

         

Synthika

4:19 am on Apr 24, 2005 (gmt 0)

10+ Year Member



I'm new here, so I hope you'll forgive me if I posted this in the wrong section. Anyway, I coded this table that looks perfect in Firefox, but when viewed with Internet Explorer, there are horizontal gaps between the cells. Is there anyway to fix this?

I apologize in advance if this is a very obvious question; I'm not as experienced in HTML as I'd like to be.

<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>

[edited by: tedster at 4:32 am (utc) on April 24, 2005]

tedster

4:43 am on Apr 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Synthika, and welcome to the forums.

First, under some situations IE will add a sliver of space just because there is a line break in the HTML (I know it's wrong, but still it happens). So if you have images in those table cells that should bump up perfectly against other images (but they don't) try eliminating line breaks between the <img> tags and the </td></tr> tags.

Also, what DTD are you using? Often that helps straighten things out because FF is much more standards compliant than Explorer. If you have no DTD or just a partial DTD at the very beginning of your document, then you are asking IE to render your document in "quirks mode" which varies pretty widely from standards mode.

Synthika

4:56 am on Apr 24, 2005 (gmt 0)

10+ Year Member



I eliminated the linebreaks and it works just fine now! Thanks for the help! Oh, and apologies for posting a personal URL; I should've read the Terms of Service more carefully.