faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

20 of 24 people (83%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I get everyone to see the same font

Mar 17th, 2003 08:56
Ben Gordon, gzazjim @ http://webxpertz.net/forums/


The following should work for the most part 
<link rel="fontdef" src="morpheus.ttf"/>
<style>
@font-face { font-family: Morpheus; font-style: normal; font-weight: 
normal; src:url(morpheus.ttf); }
</style>
With the above two tags/code in place, NN4+ (via the "link" tag) and 
IE/NN6 (via the @font-family statement) will automatically be able to 
download and display the fonts you've selected. Note that if your user 
has a different font set as the default, this will not override it.
Of course, you'll also have to upload the *.ttf fonts to the server as 
well, so this could potentially cause some copyright issues. Check with 
the creater/distrubitor of the font in question before doing this!