Click to See Complete Forum and Search --> : i need help on changing font styles


modifier_guy
12-20-2003, 11:32 PM
i wnat to change eth font style on my website how? cus teh basic is dull i wnat sumthing diffrnet

www.modfreaks.host.sk

PunkSktBrdr01
12-20-2003, 11:47 PM
...
<head>
<style type="text/css">
body {
font-family: name of font;
}
</style>
</head>
...

modifier_guy
12-21-2003, 02:19 AM
ok were do i get fonts and stuff?

Pittimann
12-21-2003, 04:43 AM
Hi!

Even though it is possible to have "exotic" fonts on your site and link to them, I think you should better chose a font which is installed on most of the users' systems (and these are quite a lot).

Cheers - Pit

pyro
12-21-2003, 08:58 AM
And always specify a default font, just in case they do not have the desired font on their system.

modifier_guy
12-21-2003, 01:27 PM
ok so like on the control panel of my computer i ahve a thing of fonts and it is full fo them, can i uplaod one of those fonts from my computer to my host, then use that script above to link tot he text? and i correct?

PunkSktBrdr01
12-21-2003, 03:54 PM
You don't have to upload them. Just put in the names of the fonts that should be used. Your first choice should go first, but if the visitor's computer doesn't have that font, it will go to the next one in the list until it finds one that can be used. So, it would be:


font-family: "Century Gothic", Arial, sans-serif;


Check out the actual CSS document:

http://www.w3.org/TR/REC-CSS1#font-family

modifier_guy
12-21-2003, 08:38 PM
thankyou now i under stand i will try it out thanx

Paul Jr
12-21-2003, 09:44 PM
I've always wondered why you can't just upload a font to your server, and then "link" to it, like a background image.

Might there be something like this in CSS3?

pyro
12-21-2003, 09:53 PM
WEFT (http://www.microsoft.com/typography/web/embedding/weft3/default.htm) allows you to do just that.

Paul Jr
12-21-2003, 10:03 PM
Originally posted by pyro
WEFT (http://www.microsoft.com/typography/web/embedding/weft3/default.htm) allows you to do just that.
Eh, really? Woohoo... I should check it out, then. :)

fredmv
12-21-2003, 10:17 PM
Too bad WEFT only works in IE. Although, I would imagine there are other equivalent tools that work in more browsers, and even still, there will probably be a feature in CSS3 in which allows us to embed fonts.

Paul Jr
12-21-2003, 10:37 PM
Originally posted by fredmv
Too bad WEFT only works in IE.
Oh joy, that's out o' the picture then.

modifier_guy
12-21-2003, 10:49 PM
ya taht script dint work after i tired it but o wlel i am sure sumthign will *** up