Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-12-2006, 10:22 PM   PM User | #1
krs1
New to the CF scene

 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
krs1 is an unknown quantity at this point
Fonts and CSS

Hey;

Is it possible to use a font that the user does not have installed by giving the browser the url of the font?

ie something like:
Code:
.Whatever {
font-family: "Good Times";
font-src: url("http://whatever.ca/goodtime.ttf");
}
Thanks.

Last edited by krs1; 03-12-2006 at 10:32 PM.. Reason: forgot [code] tags
krs1 is offline   Reply With Quote
Old 03-12-2006, 10:37 PM   PM User | #2
rmedek
Senior Coder

 
Join Date: Nov 2003
Location: Minneapolis, MN
Posts: 2,879
Thanks: 2
Thanked 65 Times in 56 Posts
rmedek is on a distinguished road
Nope, at least not yet. The closest thing to this would be to use sifr or something similiar:

http://www.mikeindustries.com/sifr/
__________________
drums | web
rmedek is offline   Reply With Quote
Old 03-12-2006, 10:57 PM   PM User | #3
slushy77
New Coder

 
Join Date: Jan 2006
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
slushy77 is an unknown quantity at this point
Better yet would be to set the font family to include alternatives and then the font type, this way if the user doesnt have a particular font, a similar effect can be achieved (remember to test). And your not depending on the user having 3rd party products installed.
e.g
Code:
font-family:Arial, Verdana, sans-serif;
__________________
live every day as if it was your first
slushy77 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:46 PM.


Advertisement
Log in to turn off these ads.