OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
link color conflict
This page's ID:
11084
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
What am I doing wrong here... [code] a, a:visited { color : orange; background-color : transparent; } .class a, a:visited { color : magenta; background-color : transparent; } [/code] the style above is causing [i]any[/i] link on the page to be magenta whether the class is applied or not, [url=http://disk919.com/bb/archived_learnins/examples/conflict.html]see[/url] (it may be correct at first but click and alink and refresh, then it behaves like I'd not expect)? If I do like so: [code] a, a:visited { color : orange; background-color : transparent; } .class a { color : magenta; background-color : transparent; } .class a:visited { color : magenta; background-color : transparent; } [/code] it works. So what am I doing wrong in the first example? Or is that just the way it is? Aas always, links on the specific subject always appreiated. Thanks [url=http://family.disk919.com/jason/][i]Jason[/i][/url] [This message has been edited by JKMabry (edited 10-23-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »