font-family: arial;
font-size:18.0pt!Important
}
You have failed to add !Importantto the font-familyproperty. Each prop-
erty that you want to make !Importantmust have that command appended
to it, like this:
p
{
color: blue;
text-align: center;
font-family: arial!Important;
font-size:18.0pt!Important
}
Adding New Selectors ...................................................................................
Now open your .css file and redefine the headline fonts from italic to normal,
from the default left-aligned to centered, and to a rather aggressive font
family named Ravie. First take a look at the embedded style that Word put
into the .htm file for the H1 selector:
h1
{mso-style-parent:””;
mso-style-next:Normal;
margin-top:14.0pt;
margin-right:0in;
margin-bottom:10.5pt;
margin-left:0in;
text-indent:0in;
line-height:24.0pt;
mso-line-height-rule:exactly;
mso-pagination:none;
page-break-after:avoid;
mso-outline-level:1;
font-size:17.0pt;
mso-bidi-font-size:10.0pt;
font-family:Georgia;
mso-fareast-font-family:”Times New Roman”;
letter-spacing:.5pt;
mso-font-kerning:0pt;
font-weight:bold;
mso-bidi-font-weight:normal;
font-style:italic;
mso-bidi-font-style:normal;}
Notice that the font is a typeface called Georgia and it’s italic. You have used
first- and second-level headlines in your .htm document, so rather than
Chapter 3: Up and Running with Selectors 63