Archive — hermiene.net

"A little hard work never killed anyone important."

February 15, 2004

Here's a thought. What if one could select character entities in CSS? If you wanted your right-pointing arrows to be a little bigger, you could do this:

→ {
  font-size: 120%;
}

Or if you wanted a "tooltip" to appear over your weird Norwegian characters (æ, ø, å) to indicate pronounciation, you could do this (provided you've marked them up as character entities and not typed them directly as you can do if you use the iso-8859-1 character set):

å:hover:after { background: #ccc; border: 1px solid #000; content: "This character is pronounced like the 'a' in the word 'all'." position: absolute; top: 10px; left: 10px; }

Or if you plain simply just want to indicate where all your character entities are, you could make them all red by doing something like this:

&*; { color: #f00; }

<< | Previous entry (February 13, 2004) | Next entry (February 21, 2004) | >>
Back to Archive