Link to home
Start Free TrialLog in
Avatar of philsivyer
philsivyer

asked on

fONT COLOR PROPERT NOT CHANGING

Hello
Why doesn't my font property of red in my paragraph not change color to RED
Regards
Phil
<?xml version= "1.0" encoding="UTF-8"?>
<!doctype HTML public "-//W3C//DTD XHTML 1.1//EN"
<html>
<head>
<style>
p
{
height: 0px;
}
</style>
</head>
<h4 style="font=family: arial; font-size:12pt;font-weight:bold; color:navy">Distribution</h4>
<p style="font=family: arial; font-size:11pt;color:red">
 <a href="01_AAM_MSP2.html">List</a></p>

Open in new window

Avatar of flob9
flob9
Flag of France image

Because it is overriden by the "a" color. Try this :

<html>
<head>
<style>
p
{
	height: 0px;
	font=family: arial;
	font-size:11pt;
}
p, p a {
	color:red
}
</style>
</head>
<body>
	<h4 style="font=family: arial; font-size:12pt;font-weight:bold; color:navy">Distribution</h4>
	<p>
 		<a href="01_AAM_MSP2.html">List</a>
 	</p>
 </body>

Open in new window

SOLUTION
Avatar of OrionsX
OrionsX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of philsivyer
philsivyer

ASKER

Thanks - finally, how can I stop the output in my paragraphs from being underlined
Phil
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks everybody