Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE9 table layout apparently affected by whitespace between HTML elements

$
0
0

I'd appreciate help debugging a web page. The page displays OK in FF4 and Chrome10, but not in IE9. Strangely, the layout of a table seems to depend on the number of whitespace lines between </td> and <td>. In theory, it ought not matter how much whitespace is between block elements, right? But the table display changes when blank lines are removed.

The display changes when other aspects of the file change too. I suspect malformed HTML (it's an old and odd page), but it passes all validators I've tried (and it displays correctly in FF/Chrome and prev versions of IE). In any case, why would removing blank lines between blocks affect things?

It's as if IE9's internal data structures are getting messed up.

If this intrigues you, have a look at http://www.ncf.ca/ncf/support/ie9_issue for more info about the problem, and the page's HTML.

This was run on Win7 using IE9, FF4, Chrome10, all believed to be up to date.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>