HighDots Forums  

How to override the style of a pseudoclass (a link)?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss How to override the style of a pseudoclass (a link)? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonathan Sachs
 
Posts: n/a

Default How to override the style of a pseudoclass (a link)? - 04-22-2008 , 10:22 AM






Can someone please explain how to override the style of the
pseudo-class in particular tag or block?

Specifically, I need to override the link, active, and visited
pseudo-classes for a set of anchors in an unnumbered list.

For my last try, I defined the following ID selector:

#xxx a, #xxx a:link, #xxx a:active, #xxx a.visited {
color: white;
}

And in the HTML:

<a id="xxx" href="..." title="yyy">zzz</a>

The anchor is still displayed with the style defined globally by a
style like this:

a:link {
color: #ff3333;
}

Reply With Quote
  #2  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: How to override the style of a pseudoclass (a link)? - 04-22-2008 , 10:26 AM






On Tue, 22 Apr 2008, Jonathan Sachs wrote:

Quote:
Can someone please explain how to override the style of the
pseudo-class in particular tag or block?
Ask in <news:comp.infosystems.www.authoring.stylesheets >


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.