View Full Version : question about css and fonts

07-11-2005, 08:29 PM
Normally the user has to have a specified font loaded on their computer to be able to see the text displayed in the set font, which is why dreamweaver has font sets, etc. But is there a way I can use CSS to designate a not so common font, where the user probably wouldn't have it loaded on their computer? I know I can use Flash text, which embeds the text in the specified font, but can it be done with CSS or should I just use one of the font sets already given in Dreamweaver?

07-11-2005, 08:41 PM
You can add any font you want to the row of fonts specified by dreamweaver.
rarefont1 rarefont2 verdana helvetica sans-serif for example.
For more information about fonts and the web read Typography on the Web ('http://www.dreamweaverclub.com/typography-web-1.php') (all 3 parts) for the rundown on fonts and web :)

07-11-2005, 09:07 PM
But won't the end user still have to have the font installed on their computer to be able to see it in the rare font? How does including it in the css automatically make it available to the user?

07-12-2005, 12:05 AM
It doesn't, you can't force users to download a font face because you think it works better for your website :)
Well not entirely true, there are some ways (weft etc) but if you read the link I posted you'd already know that ;)

07-12-2005, 02:00 PM
I read the tutorial from the link, thanks, it was helpful. I couldn't find a link to the part 3, has the author not written it yet? I guess the only other way to get the type in the rare font I want is to make a graphic out of it in Photoshop or Fireworks and then optimize it for the web. Or use Flash text, which embeds the font. Is there another way that I'm overlooking?

07-12-2005, 09:08 PM
Part 3 is on our front page.

Another way if you are willing to do some work....

http://www.macromedia.com/devnet/mx/dreamw.../sifr_demo.html ('http://www.macromedia.com/devnet/mx/dreamweaver/articles/sifr_demo.html')
Sifr Font Replacement ('http://www.macromedia.com/devnet/mx/dreamweaver/articles/sifr_demo.html')