Re: question about CSS

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 UTC