change font

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
daan
Forum Commoner
Posts: 25
Joined: Wed Nov 16, 2005 10:32 am

change font

Post by daan »

my current font is verdana

Code: Select all

<font size=3 face=verdana color=black>
can i change it to Viner Hand ITC
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Yes but that won't make it visible to everyone since they'll need to have the font installed to show it. If you quote all of your HTML attributes you'll find it easier to add values with spaces.

Mac

P.S. Topic moved to Client Side forum as it isn't a PHP question.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

this may be a bad practice so investigate before you apply,but if I'm using a font everyone may not have I make an image of it. that way I can ensure it gets veiwed how I want. that's just me though.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Charles256 wrote:this may be a bad practice so investigate before you apply,but if I'm using a font everyone may not have I make an image of it. that way I can ensure it gets veiwed how I want. that's just me though.
Which is generally a decent way of creating one off headings but not entire pages of text :)

Mac
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

yup, what mac said.

if you want to use a custom font you can embed it with CSS can't you? Never done it myself but I think you can. Googlize it :)
Post Reply