View Full Version : First post from a newb about Font-how to change


CaucasianAsian29
11-07-2006, 09:44 AM
I was wondering how to change the font on my site using HTML.
Thank you so much!!

vadimo
11-07-2006, 09:52 AM
Hi there, add this code between 'head' tags


<style type="text/css">
.textstyle {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
text-align:center;
color: #FFFFFF;
text-transform: none;
font-style: italic;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-decoration: underline;
}
</style>


than you assign this style as a class in 'body' part, like this:


<p class="textstyle">
text goes here - lalalalallalalalalla
</p>


you are welcome to explore futher about these styles and its options.

angelic.deception
11-07-2006, 10:05 AM
Another option (if you want to change the font of all of the text on your page) is:
<style type="text/css">
body {
font-family: arial, helvetica, sans-serif;
color: #000000; }
</style>
=) Just an alternative.

pb&j
11-07-2006, 10:56 AM
using HTML.
the previous posts are how to change the font using css.
to use html, the format would be...

<font size="X" color="#XXXXXX" face="X">
text here
</font>

delete any unnecessary properties and fill in any desired X values.

http://www.lissaexplains.com/html.shtml#font

angelic.deception
11-07-2006, 11:13 AM
Arrgh! The font tag! *twitches*

Just kidding. Good point though, pb&j, somehow using the font tag didn't occur to me. =)