W3C home > Mailing lists > Public > www-amaya-dev@w3.org > August 2000

Re: question about CSS

From: Charles McCathieNevile <charles@w3.org>
Date: Mon, 14 Aug 2000 04:13:56 -0400 (EDT)
To: John Russell <ve3ll@RAC.CA>
cc: www-amaya-dev@w3.org
Message-ID: <Pine.LNX.4.21.0008140412380.13730-100000@tux.w3.org>
In CSS2 you use a[name] as your selector (any a element with a name
attribute.

In CSS1 you have to additionally add a class to the anchor in order to select
it. (That will also work in css2, but it is a slightly bulkier approach -
bring on good-qwuality implementations!! ;-0

cheers

Charles McCN

On Sun, 13 Aug 2000, John Russell wrote:

  I have been using a A:an  pseudo element
  setup in my .css file to control the appearance of 
  the anchor element a name=foobar  
  but i just ran stylesheet thru validator and it complained
  that :an is not permitted.
  also both spec on css1 and css2 say nil......
  if this is true , how do i control appearance of anchors ????
  
  
  John Russell, VE3LL@RAC.CA
  http://www.cgocable.net/~jrussel
  Mystery readers may want to click on DOROTHYL
  

-- 
--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053
Postal: GPO Box 2476V, Melbourne 3001,  Australia 
Received on Monday, 14 August 2000 04:14:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:48:59 GMT