That Font Thing

November 17th, 2003  |  Published in Uncategorized

That font thing got to nagging me, so I went out and cribbed the same Javascript from A List Apart that everyone else seems to have cribbed two years ago. Over on the left sidebar (there’s only one sidebar today, tomorrow you may be grateful I specified):

stylings.jpg

One button picks sans body text, one picks serifed body text, and the third with the red ban sign on it presents a stylesheet with no font-family declarations at all, which means you’re in charge of how it looks depending on your browser preferences. It sets a cookie, so the page should remember your choice next time you visit.

Comments are closed.

© Michael Hall, licensed under a Creative Commons Attribution-ShareAlike 3.0 United States license.