Empty text nodes in Microsoft Internet Explorer

I really would love to know why Microsoft Internet Explorer has to be so difficult…

If you’re finding bizarre white spaces on your pages in IE but no other browser, take a look at the following.

I ended up wrapping my image in a generic div, and voila. No more empty text node. Finally.

http://stackoverflow.com/questions/1379380/ie7-cause-of-text-empty-text-node

 

[Note: I originally posted this elsewhere in May 2012, and I ended up having to do the same thing earlier today…]

Advertisements