differnt link colors for photo and text

liunx

Guest
Hi, <br />
<br />
I want to have different colors for photo links and text links on the same page, is this possible?<br />
<br />
I am using HTML 4.01 Transitional. <br />
<br />
Any assistance appreciated. Thank you in advance. <br />
<br />
Daniel<!--content-->With CSS you can have as many unique colors on as many links as you want.<br />
<br />
Eg<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br />
<html><br />
<head><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
<meta http-equiv="Content-Script-Type" content="text/javascript"><br />
<meta http-equiv="Content-Style-Type" content="text/css"><br />
<title></title><br />
<style title="Default" media="screen" type="text/css"><br />
<br />
a.one:link {color:blue;}<br />
a.two:link {color:red;}<br />
a.three:link {color:#ccc}<br />
<br />
</style><br />
</head><br />
<body><br />
<br />
<p><a class="one" href=http://www.webdeveloper.com/forum/archive/index.php/"">link</a></p><br />
<p><a class="two" href=http://www.webdeveloper.com/forum/archive/index.php/"">link</a></p><br />
<p><a class="three" href=http://www.webdeveloper.com/forum/archive/index.php/"">link</a></p><br />
<br />
</body><br />
</html><!--content-->
 
Back
Top