Forum Moderators: open

Message Too Old, No Replies

Font will not change

         

reddevil

4:17 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



Hi,
I am using FP2000 and had set up my font (using CSS)to Comic Sans. When I ran it through the validator it asked me to put in a font-family generic name so I used sans-serif and most of my website changed to sans-serif even though Comic Sans was set as the preferred font.
So now I have deleted all reference to sans-serif but my site still does not show any Comic Sans fonts.
Anybod have any ideas how I can revert back to my original fonts? Maybe i will have to start from scratch again?

balinor

4:47 pm on Feb 1, 2004 (gmt 0)

10+ Year Member



Hi reddevil. You should avoid specifing a specific font name, as it won't display correctly on someone's machine if they don't have that font installed. If you want to specify Comic Sans, at least add a backup that a user is guaranteed to have. You also need to put single quotes around a font that has multiple words. Try something like this:

{font-family: 'Comic Sans', Times, serif;}

This way, if a user doesn't have Comic Sans, the browser will try Times, and if Times isn't present, it will go for whatever serif font it can find. Good luck!

-Padraic

reddevil

5:19 pm on Feb 1, 2004 (gmt 0)

10+ Year Member



balinor,
thanks for the tip - it worked a treat!

mattr555

6:08 pm on Mar 10, 2004 (gmt 0)

10+ Year Member



I believe that the general font family for comic sans is "Cursive" not "Sans".

Does'nt really matter buy users will get a closer match if they dont have comic sans.