D
dorayme
SAZ said:My second post contains a method that certainly DOES work
Not that I can see. You might have missed the significance of my "er..."
in my earlier post. If I have you wrong, I apologise but piecing
together your html (mentioned in your first post) with your "corrected"
CSS and trivially changing your "blue" to "red" in the HTML bit so you
can test more effectively:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Some tunes</title>
<style type="text/css" media="screen">
..red a:link { color: red; }
</style>
</head>
<body>
<ul>
<li><a class="red" href="redpage.html">This is a red link</a></li>
</ul>
</body>
</html>
Does not get you a red link.
I posted one way to correctly skin this cat. (I noticed JL chipped in to
raise the class name practice issue that is not strictly relevant here,
Not that I want to disagree with his suggestions so much)