Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Thanks (was Marking up musical notes?)
- Mark Tranchant
May 17, 2005, 7:41 pm
rate this thread
Thanks for the input everyone. I've settled (for now) on the following:
<abbr title="B flat">Bb</abbr>
My magic conversion to pander to IE's non-support of <abbr>  has now
been turned off as it made any music-related pages a mass of conditional
comments. People who want abbreviations expanded can either get a
browser or view the source.
I understand that e.g. Bb isn't really an abbreviation, but I think it's
probably the closest semantically. Perhaps <code> would have been
Now all I need to do is update the crazy number of occurrences.
 It converted <abbr title="foo">bar</abbr> to:
<abbr title="foo"><!--[if IE]<acronym title="(fixed abbr for IE)
Re: Thanks (was Marking up musical notes?)
Nick Kew wrote:
In the musical note case, yes. What I've ended up doing is as follows:
In the source XML, notes are marked up as <note title="B flat">Bb</note>
The front-end performs the IE fix on <abbr>s first, then converts the
<note>s to <abbr>. That way, non-note <abbr>s are still readable by the
joke "browser", and my music pages aren't drowned in conditional comments.
Yes, but they're hardly trivial given the number of cases.