Hi,

building a site using XSLT to output XHTML to the browser, we recently
added a DOCTYPE definition to our page and suddenly saw almost all
elements of the page being distributed around the layout, as if the
cellpadding of all tables was set to 20 or something.

When we removed the DOCTYPE, the problem dissapeared again.

As it seems, the spacing issue only happens on tables, wether they
have nested tables, text or images in their cells. All paragraph tags
and similar block elements keep their exact spacing.

This behaviour only appears in Mozilla and Netscape. IE does the
layouting perfectly.

Is this a Mozilla issue? How to prevent this additional whitespace to
appear, without of course loosing the DOCTYPE definition? Or is this a
layout issue, where Mozilla layouts tables in a different way than IE
does (or does IE layout tables in a different way as Mozilla does).

thanks for clearing this out,
vincent

Reply via email to