Nathan Ford, over at unit interactive, has written a great blog post on moving a little outside the square when it comes to defining ‘font stacks’ in CSS, such as: font-family: Arial, Helvetica, sans-serif;
He suggests that you define the stacks according to their purpose (context), specifying your ideal font first, then the alternative (or font that best fits), followed by a common font, then the generic one. While he suggests four, there’s nothing to stop you from defining six or ten fonts in your stacks. The ideal font you specify doesn’t have to be a font that’s installed on everyone’s machine, and he gives us some links to stats on what’s installed on computers around the world, as well as a comparison of the fonts mentioned in his article as a downloadable PDF document.
One thing he didn’t mention is the great Typetester tool where you can select fonts, specify their attributes (including dynamic color and background color), see how they display in your browser, then grab the CSS for the font combination you want. It sure beats changing the CSS, and refreshing the browser to test out every nuance!
That blog post again?
http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/