Hallo, a.link would be a class selector, selecting any <a> element that has a class attribute of value "link".
As well a.hover would constantly style <a class="hover">. I guess what you want is to change the appearance of a link when the user places the mouse pointer over it (or when the link is active or visited). To achieve that you have to use the pseudo classes :link, :hover, :active and :visited etc. They are not specified within the tag. Take a look at this page for further explanation: http://www.w3schools.com/css/css_pseudo_classes.asp Best regards, Christian Kirchhoff Directmedia Publishing GmbH · Möckernstraße 68 · 10965 Berlin www.digitale-bibliothek.de AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737 Geschäftsführer: Ralf Szymanski · Erwin Jurschitza -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Montag, 18. Juni 2007 16:40 An: [email protected] Betreff: [css-d] Selectors Confusion Hello, Can someone please explain how to tell when the following should be used: a:link or a.link a:hover or a.hover a:visited or a.visited a:active or a.active I seem to be getting them wrong, either the order or the selectors seem incorrect, and I'm wasting time with trial and error. TIA David G) ---------- ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
