Previous Message
Next Message

Re: how would i select

Sent by Antonio Bueno on 3 January 2005 19:07


Hello, Marty.

> Let's say I have this code [...] How would I use CSS to select the
> 2nd and 3rd <a> to apply styles to them? Is it possible?

I have good news and bad news. Yes, it's possible. Look at
http://www.meyerweb.com/eric/articles/webrev/200007a.html for an
excelent explanation, but in short you want to use the selector "a+a"
(any link that follows a link).

The bad news is that there is one dumb browser that doesn't understand
such selector. Guess which one?


-- 
Saludos,
 Antonio

http://www.mundoplus.tv/
Televisión por satélite en España

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: