Css attributes are specified to one class, but, you can specify as more classes
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
}
.fontcolor{color:#FF0000;}
class="style1 fontcolor">Test twinclass
Monday, August 24, 2009
Font shorthand
font-weight: normal;
font-style: italic;
font-size: 12px;
font-family: arial;
this above rule you can wrile as below
font: normal italic 12px arial;
You must have rule for both the font-size and the font-family.
font-style: italic;
font-size: 12px;
font-family: arial;
this above rule you can wrile as below
font: normal italic 12px arial;
You must have rule for both the font-size and the font-family.
Subscribe to:
Posts (Atom)