I've attached a screenshot showing firebug displaying the CSS in precedence order in Firefox. I have also include my CSS file.
I'm looking at the (blue) highlighted anchor tag on the left.
The CSS ordering on the right shows that
p a:hover,a:active
is higher in precedence than
#menubar_TD a:hover,a:active
Attachment | Size |
---|---|
Firebug Screenshot.jpg | 181.63 KB |
CSS List.jpg | 29.41 KB |
Example Page Posted - This makes it easy to see...
If you visit this link:
http://chemtrailsconnect.com/stories/My-Chemtrail-Story/test.html
You will see two links:
"The Global Vaccine Agenda"
"The Thimerosal-Autism Coverup"
The first one, if you view it in Firebug (right-click and then click "inspect element"), will give this as the first CSS rule that applies:
td#menubar_TD a:hover,a:active {}
Can anyone tell me how this rule could possible apply to either of the above links when neither of the links are within the element?
I have researched this all night and am still baffled.
First of all, why are you
First of all, why are you using a table for layout?
Secondly, you're selectors are wrong. When using a comma delimited list, the selectors do not retain the parent of the previous selector.
p>a:hover,a:active { color: #669933; text-decoration: underline; } #menubar_TD>a:hover,a:active { text-decoration: underline; }
p>a:hover, p>a:active { color: #669933; text-decoration: underline; } #menubar_TD>a:hover, #menubar_TD>a:active { text-decoration: underline; }
Thanks. That's that answer I
Thanks. That's that answer I was looking for.