CK
2010-03-08 01:27:46 UTC
font-family: arial, Helvetica, sans-serif;
How do I change the font? Anything will do, just something different. Any suggestions would be great. I dont just want font style answers, I need to know the exact code to put in because everything I've tried wont work.
Many thanks!
Four answers:
u94acb
2010-03-08 01:51:42 UTC
Arial
Arial Black
Comic Sans MS
Courier
Georgia
Helvetica
Impact
Tahoma
Times New Roman
Trebuchet MS
Verdana
Sans-serif
If the font name is longer than one word then you need to put quotes around it. It is generally best to have at least two in your list to account for different viewers pcs'/macs and web browsers as they dont all have the same default fonts built in.
font-family:"Comic Sans MS", Helvetica, Arial;
would be my recommendation if you are looking for a friendly consumer oriented text. For a more business site maybe put the Helvetica first in your current list.
anonymous
2010-03-08 01:36:39 UTC
in other words, it'll search for arial use this if it's found,
if not found search for helvetica use this if found,
if not found default to browsers specified sans-serif font.
to change what it displays u must insert b4 or replace the arial font an is also case sensitive
Ivan
2010-03-08 01:35:36 UTC
h3=Heading level 3, h2=heading level 2 and p=Paragraphs
I've used the 'em' measure, experiment but stay around .70 - 1.25 or it gets big.
The 'font-weight' lets you use bold text and 'color' (note US spelling) the font colour.
'padding-bottom' puts a bit of white space under the text.
h3 {font-family: Arial, Helvetica, sans-serif; font-size:0.75em; color:#800080; padding-top: 6px; padding-bottom: 6px;}
h4 {font-family: Arial, Helvetica, sans-serif; font-size:0.75em; font-weight:bold; padding: 0;}
p {line-height:1.5em; font-size:0.75em; padding-bottom:6px;}
?
2016-10-23 06:17:28 UTC
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.