Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font visibility

Status
Not open for further replies.

matpj

Technical User
Mar 28, 2001
687
GB
Hi,

can anyone tell me how I can ensure that fonts are visible on users machines?

in the past when fiddling with websites I have noticed that fonts seem to default to Times New Roman - when I use a fancy font.
Is it a case of uploading the TTF file for the font to the web space??
 
There is no easy way. You can embed fonts on a web page, but its not widely supported and different browsers do it in different ways.

The best way is to accept the fonts users already have. I tend to use:

font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;

font-family: Georgia, "Times New Roman", Times, serif;

Obviously I adjust those to suit the situation - you can remove fonts or add others to the list on the off chance users will have them.

If you want to use another font, do it as a graphic AND GIVE IT ALT TEXT. If its a header (<h1> etc), a good way is described at
--
Olly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top