Sent by Vargenau on 2 December 2002 16:04
Hello,
In the code below, I would expect all 4 links to be green.
In Mozilla 1.0, the first 2 links are green and the last 2
are red.
Why ?
The only difference is the declaration of classes "green" and "vert".
Sorry if this is a trivial question.
Regards,
Marc-Etienne Vargenau
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a { color : red; }
a:link { color : red; }
a:visited { color : red; }
a:hover { color : red; }
a:active { color : red; }
a.green { color: green; }
span.green { color: green; }
.vert { color: green; }
-->
</style>
</head>
<body>
<p><span class="green"><a href="a.pdf" class="green">foo</a></span></p>
<p><a href="b.pdf" class="green">bar</a></p>
<p><span class="vert"><a href="a.pdf" class="vert">foo</a></span></p>
<p><a href="b.pdf" class="vert">bar</a></p>
</body>
</html>
_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning