russ - maxdesign wrote:
If you want to style a particular link, you can do it using a direct id or
class applied within a link like this:
HTML - <a class="foo" href="#">text</a>
CSS - a:link.foo { color: green;}

Although the above CSS seems to work, I believe that the more correct form for this selector is


a.foo:link

See the example at "5.11.2 The link pseudo-classes: :link and :visited"
http://www.w3.org/TR/CSS21/selector.html#link-pseudo-classes

--
Patrick H. Lauke
_____________________________________________________
re�dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to