|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have been told that there is a way to load an entire font into css so that I can use specialized fonts in my sites and the fonts will read correctly regardless of browsers and user computers. Unfortunatly I have only been able to determine that it can be done, but no one seems to know how. Any suggestions??
|
|
||||
|
I had a go at doing that on one of my experimental sites called Musix.
You can do it using an embedded font. You'll need a program like WEFT to convert the font from a ttf to a eot. This is how I linked it in with css: @font-face { font-family: FFF Galaxy; src: url(http://www.munkyonline.co.uk/Musix/fonts/FFFGALA1.eot); } I think this only works in Internet Explorer. You have to make a different font type for other browsers. You'll have to search on google to find out how to do that =) |
|
||||
|
If you want a true cross-browser solution, the only safe bet is to embed your fonts into images. While CSS allows for it, as MuNKy demonstrated, it's not really supported all that well.
The downside, obviously, is that the iamges aren't plain text. But you can always create a text-only alternative, use ALT tags, etc. and so on.)
__________________
Toronto Web Design | Search Engine Friendly, Standards-Compliant Layouts | Walk on my Path (my blog) |
|
|||
|
A much easier solution in my opinion, assuming you have a basic knowledge of PHP and JS?
Works in any browser with JS and images turned on, and can be seen in practice on my CCCP blog (just don't view with Opera or scale the text - both faults of my CSS which I haven't fixed yet - not the technique). It's called dynamic text replacement. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |