kvnmcwebn wrote:
why doesn't firefox recognize the visited state in this rule?
.navcontainer a:hover:visited
{
color:#BCB281;
}
That worked in my test case, it's probably a specificity issue. Make
sure there's no other rules in the stylesheet that would be overriding
that style.
The simplest way to work out the problem is the reduce the HTML and CSS
to the minimum amount of code that still reproduces the problem and then
go from there. You should also make use of the DOM inspector to see
what styles are being applied.
Ben Wong wrote:
On 5/23/06, kvnmcwebn <[EMAIL PROTECTED]> wrote:
a:visited:hover:active
No, I don't think that's possible.
You should consult the specification before you make such false statements.
| A simple selector is either a type selector or universal selector
| followed immediately by zero or more attribute selectors, ID
| selectors, or pseudo-classes, in any order. The simple selector
| matches if all of its components match.
http://www.w3.org/TR/CSS21/selector.html#q2
You can chain as many pseudo-classes as you like
kvnmcwebn wrote:
No, I don't think that's possible.(a:visited:hover:active)
guess not seems to work in explorer though.
In IE, a chain of pseudo-classes is not handled correctly.
e.g.
a:hover:visited is incorrectly treated the same as a:visited
a:visited:hover is incorrectly treated the same as a:hover
That's similar to the way IE handles class selectors as well.
--
Lachlan Hunt
http://lachy.id.au/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************