Abbreviations Are Back

I think I may have just found a way to get the <abbr> tag to work right under Internet Explorer for Windows. Unfortunately if this works I’ll have to deal with abbreviations now in my acronym code.

2 thoughts on “Abbreviations Are Back

  1. Okay, *almost* grasping this. (I feel so slow some days.)

    The acronymit function replaces instances of known acronyms with an <acronym> tag and its definition as a title.

    Why use an acronym tag? Why not place an anchor tag with a title and no href? Or is acronym some obscure HTML tag? 😉 [Bear in mind I don’t actually read regexp. I *think* I understand what you’re replacing.]

  2. You got exactly what the regex does. It is an obscure tag, but I think you may have hurt its feelings by calling it that. 😉

    By default IE doesn’t add any indication that the acronym tag is there, and since the stylesheet is pretty spartan right now there was no visual indication. Now acronyms on the site are slightly set apart and have a dashed underline. If you hold you mouse over one a tooltip will pop up with the title. You can see this in action on your comment.

    The reason I didn’t use an anchor tag with a title is simply because there’s a better tool for the job.

SHARE YOUR THOUGHTS