View Single Post
Old 01-16-2006, 10:35 PM  
aico
Moo Moo Cow
 
Join Date: Mar 2004
Location: Washington State
Posts: 14,748
Here's a quick example:

if you put this in your code (usually in the head, but doesn't matter)
<style type="text/css">
<!--
.style1 {
FONT-SIZE: 12px;
COLOR: #000000;
FONT-FAMILY: Tahoma, Verdana, Arial, Helvetica, sans-serif

-->
</style>


You've made a "class" called "style1".

So you can do this:
<p class="style1">Text</p>

The word Text will now be 12px is size, Black, and the font Tahoma or other in order of availability.
aico is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote