| dolphinling ( @ 2004-12-07 00:29:00 |
| Current mood: |
abbr, title, and generated content part 2
abbr[title]:after{content:" ["attr(title)"]";} seems to be working pretty nicely. Anne's site breaks (the WP up in the top right corner, which IMO probably should just be written out anyway, pushes the word Limpid onto the next line where it covers part of the search box), and it provides some interesting insights into people misusing code like this post of Gerv's where he wrote <abbr title="A ceremony in the Catholic church">Mass</abbr>, but in most cases it's only helpful.
So now I'm going to try modifying it slightly, to
abbr[title]:before{content:attr(title)" (";}
abbr[title]:after{content:")";}
This basically just moves the expanded form of the acronym to the front, as well as switching [] to ().
I wonder how this will work out.