Space between table rows in Mozilla

  • Thread starter Christopher Finke
  • Start date
J

Jukka K. Korpela

Christopher Finke said:
Does anyone know why this page: http://www.emanuelhamburg.org/index.html
has white spaces between the table rows in Mozilla and not in IE?

Apparently Mozilla allocates heights for the cells differently from what we
might expect. But after quite some study of this situation, I found:

If you remove the doctype declaration, the problem vanishes. Mozilla is
doing some doctype sniffing. Naturally this means that for validation, you
need to use an explicit doctype selection in a validator's user interface.

I have no idea what Mozilla is doing this time. Doctype sniffing generally
means that it tries to simulate bugs in older browsers. But sometimes it
just gets confused. And, after all, doing pixel-exact table layout doesn't
really comply with the spirit of Strict (X)HTML, even if the markup (almost)
validates as Strict, so asking for old-timer tag soup processing is logical.
 
C

Christopher Finke

Jukka K. Korpela said:
Christopher Finke said:
Does anyone know why this page: http://www.emanuelhamburg.org/index.html
has white spaces between the table rows in Mozilla and not in IE?
[snip]

doing pixel-exact table layout doesn't
really comply with the spirit of Strict (X)HTML, even if the markup (almost)
validates as Strict, so asking for old-timer tag soup processing is
logical.

That's true, as well as insightful. I do believe that I will be rewriting
the page in order to rid it of its table-based layout in favor of CSS only
or an image map. But in the mean time, altamir's suggestion of using {
display: block; } for the images in that table worked like a charm. Thanks
all!

Christopher Finke
 

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

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,220
Latest member
AugustinaJ

Latest Threads

Top