Andrew Channels Dexter Pinion

Wherein I write some stuff that you may like to read. Or not, its up to you really.

May 16, 2002

More CSS

Definitely the last change, until I make the next one.

I have added support for the cite, acronym and abbr html tags. Inspired by Mark Pilgrim and the always amusing Stavros the Wonder Chicken any item with an underline will now have a little tool tip to show you what it means. This is achieved quite easily in my style sheet (and yours too if you want) with these two simple entries;


acronym, abbr, cite {

  font-style: normal;

}



acronym[title], abbr[title], cite[title] {

  border-bottom: 1px dotted black;

  cursor: help;

}


Thanks for the help guys.

Posted by Andy Todd at May 16, 2002 04:00 PM

Comments