HokieTracks Posted April 7, 2009 Share Posted April 7, 2009 I know that you have to be careful when defining font-family because not every website user has the same font on their computer. So is there a way to define the font style and "link" it to the font file on your website? Quote Link to comment Share on other sites More sharing options...
xtopolis Posted April 8, 2009 Share Posted April 8, 2009 There is, but it's not fully supported last I remember. http://www.w3.org/TR/CSS2/fonts.html#font-descriptions @font-face { font-family: "Robson Celtic"; src: url("http://site/fonts/rob-celt") } Quote Link to comment Share on other sites More sharing options...
HokieTracks Posted April 8, 2009 Author Share Posted April 8, 2009 So if it's not fully supported does that mean it only works in certain situations? Quote Link to comment Share on other sites More sharing options...
xtopolis Posted April 8, 2009 Share Posted April 8, 2009 It means that between FF,IE,Chrome,Opera,Safari, it may not work in all of the browsers, nor all of the versions of those browsers. I was looking for a color coded graph regarding the compatibility, but I think the specifics are still being worked out [ http://www.w3.org/Fonts/Misc/eot-report-2008 ]. You can test this by creating a simple page and testing it either by downloading the browsers yourself, or making use of a service such as BrowserShots[ http://browsershots.org/ ] Basically, "I wouldn't rely on it, yet." Quote Link to comment Share on other sites More sharing options...
HokieTracks Posted April 8, 2009 Author Share Posted April 8, 2009 Ok, yeah it sounds like it's better just to use a basic font that everyone has. But thanks for the info and that browser shots link it looks really usefull. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.