Tuesday December 12, 2006

The IE Dash Bug

By Colin Lieberman

I think I’ve found a new IE bug (it exists in both 6 and 7), and I think I’ll call it "The breaking em-dash bug".

What happens is this: if I’ve got the markup — , IE6 and IE7 break between the dash and the space.

My guess is that the browser is treating all dashes as if they were hyphens, but well, there’s a difference.

Sample:

— — — — — — — — — — — — — — — — — — — — — — — — — — — —

In FireFox and Safari, the dashes correctly burst through the edge of the box. In IE 6 and 7, you can see that they wrap after an em-dash. Tsk Tsk.

I’ve tried googling for this, and can’t find any references to it.

Comments:

  Textile Help