Sent by Jason Hummel on 3 April 2002 16:04
I have a piece of html that looks like this:
<body>
<div class="gnav">
<a href="">blah</a>
<a href="">blah</a>
<div class="lnav">
<a href="">blah</a>
<a href="">blah</a>
</div>
</div>
</body>
I need the 2nd set of a href's to look different than the first. I've tried
to select them like this:
.gnav>A {}
.gnav>.lnav>A {}
Which worked great in Netscape 6, Mozilla, and IE for Mac, but on IE 6 for
windows it didn't work at all.
.gnav A {}
.gnav .lnav A {}
Basically didn't make it work quite right in any browser. Because it looks
like it adds the second style to the first.
If anyone can tell me how to select these two independently, it would be
greatly appreciated.
Thanks
Jason Hummel