your !Importantstyles. In the paragraphs, the black text turns blue, is cen-
tered, and changes from the default serif font to Arial’s sans serif style, as you
see in Figure 3-6.
Try removing the !Importantcommand from the .css file in Notepad. Press
Alt+F+S to save the change to this file. Then use Alt+Tab to switch to IE, and
then press F5 to refresh the browser (reloading the HTML to update what you
see to the latest version). As you see, blue and centering took effect, but the
serif Times New Roman font didn’t change to Arial as your external style
specified. Why did some of your CSS files’ styles get applied, but not others?
The answer is in the .htm code for this page. In the embedded styles, locate
the properties selector. You see this:
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
text-indent:12.25pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:”Times New Roman”;
mso-fareast-font-family:Times;}
Figure 3-6:
Your text
should
change
to blue,
centered,
and Arial
for each
paragraph
in the Web
page.