IE Whitespace Bug

We all know that :IE: is a mediocre browser at best when it comes to web standards.  Well, here’s yet another fix for a well-known whitespace bug that affects some link lists in IE.  If you read the comments there are several additional fixes suggested.

This exact defect afflicted the link lists on the right side of this site for the longest time.  Derek managed to discover one of the fixes when he was working on his own site and I applied it here several months ago.  The same fix, however, didn’t work for me when I tried it on the :EE: Plugins site.  I may have to go back and try one of these other solutions there now.

This is an older entry and as such, it may be by a guest author or contain formatting problems / extraneous code. If you notice something wrong with the entry, please use the Contact page to let me know the entry title and issue.

Comments

I noticed that actually adding a white space in the <a></a> solved the problem for me. The following “columned” code:

<li><a>item one  </a></li>
<
li><a>item two  </a></li>
<
li><a>item three</a></li>
<
li><a>item four </a></li>

produced an extra line only for “three”

Leave Your Comment

Comments may be edited for content or deleted at any time. Civilized discussion is welcome. Anyone spamming, going way off topic, or otherwise being a jerk will probably be deleted or banned.

User Information

pMcode is allowed for comment formatting. pop-up mini reference

Personalization Options

Comment Security