Is there a site that I can see all the fonts that I can use in css? Thx in advance.

4 answers

0
points

You should learn about font stacks, you can specify a preferred font, and several alternatives.

You could also use @font-face or a Javascript solution.

here are some useful links:

http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/ http://www.codestyle.org/css/font-family/BuildBetterCSSFontStacks.shtml http://www.awayback.com/revised-font-stack/

http://www.miltonbayer.com/font-face/

http://wiki.github.com/sorccu/cufon/about http://typekit.com/

Answered about 9 years ago by Tony Crockford
0
points

If You mean the fonts You can safely use for the major platforms, see

http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html

Answered about 9 years ago by Thomas Traub
Mottie 1134
0
points

Just so you know, you should also search stackoverflow for answers. This question has also been asked over there.

I'm not trying to discourage you from using this site, but instead enable you to find answers more quickly if you need it :)

Answered about 9 years ago by Mottie
eero 5
0
points

Well, since golden days best practice is to use safe fonts which most users have on their systems. No point in using a fancy font you have on your system while no-one else can see it like that.

As Tony says you should check out how to set up stacks in CSS. For example you specify font-family:Helvetica,Arial,sans-serif; This means if user has Helvetica on their system this will be used, if not then Arial. And if the user doesn't even have Arial the system preferred sans-serif will be used.

You can provide @font-face with your CSS as well and provide the appropriate font file. Most major browsers (most latest versions at least) should support this.

Answered about 9 years ago by eero