tee wrote:
I have this:
a[href*="site.com"] {color: #e21;background: #555;}

Then I added this thinking this will tell the browser to give external link 
with a white background, but all links are with white background.

[href^="http"]{color: #e21;background: #fff;}

The http overrules the one with "site.com" value.

And if you put the rules in the opposite order, the site.com one will override the http one, just the same as if you had two rules for h1 or p in your stylesheet.

Rob


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to