Post Archive

› February 17, 2006

minus

  • Reported by Nate

Well that was crazy. Just working on a little bug fix where I discovered a difference between how a dash used to represent minus, behaves differently than the minus entity: −. Apparently some browsers *ahem* will wrap at the dash when cramped for space, even if the bit of text is floating. Changing from dash to − fixes the problem, and I suppose on some planet it might even be considered more semantic. Not a coincidence that it's winter.

Comments

1. February 18, 2006 06:10 AM

Quote this comment

Sid Posted…

Yeah, the differences between hyphen, minus, em-dash, and en-dash are subtle and normally ignored by most people.

http://www.alistapart.com/stories/emen/

2. February 18, 2006 11:07 AM

Quote this comment

Nate Posted…

Oop. I forgot to check ALA, that was just absentminded of me. Thanks for the link.