Not fully php problem but you guys may be able to help...
I use CSS for the link colors (hover and such)
But then I have came across the problem of on one of the pages, just for 5 links I want to change the color of the links from green to red (including hover color too) Anyone know how to do this?
Thanks
Link color problem
Moderator: General Moderators
you may either wait for full css2 compliance or place the links in different <div>s with different classes
e.g.
e.g.
Code: Select all
<html>
<head><style type="text/css">
.class1 a { color: #ff0000; }
.class2 a { color: #00ff00; }
</style></head>
<body>
<div class="class1">
<a href="javascript:void(0);">click</a>
</div>
<div class="class2">
<a href="javascript:void(0);">click</a>
</div>
</body>
</html>