|
Posted by Mark Tranchant on May 18, 2005, 10:04 am
Please log in for more thread options
Nick Kew wrote:
> Mark Tranchant wrote:
>
>><abbr title="B flat">Bb</abbr>
>>
>>My magic conversion to pander to IE's non-support of <abbr>
>
> Seems OTT. Presumably users affected by that are those who don't need
> the title anyway, yesno?
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.
>>Now all I need to do is update the crazy number of occurrences.
>
> That's what scripts and regexps are for!
Yes, but they're hardly trivial given the number of cases.
--
Mark.
http://tranchant.plus.com/
|