Ok im new to CSS and i learned enough to do what i wanted till i tried it on the actual page but what im tryin to use CSS for is to change the color of my links to red and have an image repeated it works on when these are the scripts:
[PHP]body
{
background-image:
url("D:\WebSite\Pictures\grim3.jpg");
background-repeat:
repeat;
background-attachment:
fixed
}
p {color: red}[/PHP]
[HTML]<html>
<head>
<link rel="stylesheet"
type="text/css" href="D:\WebSite\ex1.css" />
</head>
</html>[/HTML]
its on a USB flash drive if that has anything to do with it but im not done with the site yet so im not putting it on my server. and this is the scripts that dont work.
[PHP]body
{
background-image:
url("D:\WebSite\Pictures\grim3.jpg");
background-repeat:
repeat;
background-attachment:
fixed
}
p {color: red}[/PHP]
[HTML]<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet"
type="text/css" href="D:\WebSite\ex1.css" />
<title>Title</title>
</head>
<body>
<font color="red">
<center>
</center>
<ul>
<li><a href="D:\WebSite\HomePage.html">Home</a></li>
<li><a href="D:\WebSite\MusicPage.html">Music</a></li>
<li><a href="D:\WebSite\GamesPage.html">Games</a></li>
<li><a href="D:\WebSite\PicturesPage.html">Pictures</a></li>
<li><a href="D:\WebSite\DownloadsPage.html">Downloads</a></li>
</ul>
<br />
<br />
<center>
Hello welcome to the site I hope you enjoy it!
</center>
</font>
</body>
</html>[/HTML]
all it does is display a white background with red links and text its really annoying any help would be greatly appreciated.
Thanks, Death Slaught