niche Posted March 5, 2011 Share Posted March 5, 2011 I set-up this test, but it doesn't work. I suspect I'm not using the complete name for the font (which is also installed on my system). How do I find the exact name of a font? <html><head><style type="text/css">@font-face{font-family: myFirstFont;src: url('USPSIMBStandard Standard Medium.ttf'),}div{font-family:myFirstFont;}</style></head><body><div>DDAFFAAFDFFAADAADDADAADAAAATTTFFADFATTDDFFDFAAADDDFTDDADTFDTDFDDD</div></body></html> Link to comment Share on other sites More sharing options...
niche Posted March 5, 2011 Author Share Posted March 5, 2011 I found the name in properties. It's called USPSIMBStandard.ttf, but the script still doesn't work and I changed to the correct font name. Any ideas? Link to comment Share on other sites More sharing options...
thescientist Posted March 5, 2011 Share Posted March 5, 2011 did you try clearing the cache? Link to comment Share on other sites More sharing options...
niche Posted March 5, 2011 Author Share Posted March 5, 2011 If you mean loading the script from the url. yes. In fact, I sent the script at http://w3schools.com/css3/tryit.asp?filena...-face_rule_bold to my web host and received a different display than the from the display in in the tutorial. Any thoughts? Link to comment Share on other sites More sharing options...
niche Posted March 5, 2011 Author Share Posted March 5, 2011 Sometimes the sweetest answers are the ones you find yourself (the font was missing from the folder).Thanks to thescientist for the help. Link to comment Share on other sites More sharing options...
thescientist Posted March 5, 2011 Share Posted March 5, 2011 doh Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.