What am I doing wrong?

Soldato
Joined
6 Jan 2006
Posts
3,423
Location
Newcastle upon Tyne
Trying to make a start with style sheets but I'm stuck at the first hurdle!

Style sheet:

Code:
p 	{
	font-family:Tahoma;
	color:#FFFF00	
	}

p2 	{
	font-family:"Times New Roman";
	color:#CCCCCC
	}

Html:

Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
<link rel="stylesheet" type="text/css"  href="test.css" />  


<title>CSS test</title>
</head>

<body>

<p>Test this should be tahoma</p>

<p2>This text should be different!</p2>

</body>
</html>

But the second lot of text is staying black? http://www.mmassociates.co.uk/test/

What have I done wrong?

Thanks
 
Back
Top Bottom