help with font style

They have: 2 posts

Joined: May 2006

I need to have this font on a webpage: freehand591 BT It is a handwriting type style script. I cannot seem to make it work in normal situation and I believe it should be in css. Can anyone give me the coding to make this show up on a website? Thank you very much in advance.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Basically, you can't use a special font like that on a website. Well, there might be a way to do it, but it would involve some complicated scripting.

What happens with fonts on web pages is the browser looks for the specified font on a users computer. If it's installed, the browser will use it to render the text. If it's not, it will go to the next availble option. For common fonts like arial, verdana, georgia, times etc., you can probably trust that most users have that font installed and will see it as you intended. Even so, it's good to specify a few options just in case. freehand591 is not a common font, it won't be installed on most computers, so you'd better not count on it looking like you want it to. If you're stuck on that font your best option would be to do it as a graphic.

Also I think your coding is a little messed up here. I don't think I've ever seen a tag Confused The code should look like this:

In the CSS:

.yourclass {font-family: freehand591, optionb, optionc, cursive;}

(You should probably test to see that "cursive" works as a generic family. There are several generic families that will use the default option for that family - serif, sans-serif, cursive, fantasy, monospace.)

In the HTML:

Your text here

Of course, you would use the proper mark-up here (a header tag or list or whatever depending on what your text is).

Let me know if you need any clarification there.

They have: 2 posts

Joined: May 2006

Thank you for the help.. I will attempt what you suggested and see if I can get that font to work - If not,will use normal handwriting font installed with windows.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Just to clerify, the face thing was probably a reference to the old way of setting fonts:

Text

-Greg

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

See, how fully I've been converted. I didn't even remember the face attribute.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.