Thread: Common Fonts
View Single Post
  #2 (permalink)  
Old 10-05-2004, 07:38 PM
php~pro php~pro is offline
WebProWorld Pro
 
Join Date: May 2004
Location: United Kingdom
Posts: 151
php~pro RepRank 0
Default

Hi Richkoi.

The 6 you list are safe bets and have been around since win 95(shudder). Whilst these are still the safest bet why not write a style switcher based upon the users O/S.

So if a visitor is using win 98 switch to a font you like that you know is included standard, elseif a user in using xp use a different one, else use Verdana.

Use if, elseif, and else or case and swithch to make selections in your code. You could use any serverside language or JavaScript to make the switch.

The reason in stylesheets you 6 more than one listed is if the first isnt present on the users drive it will attempt to use the next, and so on.
Reply With Quote