It's more than a house. It's an adventure.

Saturday, March 22, 2003

Superscript styles

I was looking over my truck page tonight and noticed that superscripts were in the same font-size as the main text in my Mozilla 1.3 browser. This looked really odd to me. Separating the content & meaning from the presentation, the size doesn't matter as far as the meaning of the document (for a text-to-speech reader, or a program analyzing the page). The default user stylesheet of Mozilla kept the font-size the same. I slapped the following into my site CSS:sup,sub
{
font-size:75%;
}
Super/sub scripts used to look likethis, now they look likethis. A little better I think. And if I decide to nest them things get really interesting.

0 Comments:

Post a Comment

<< Home