Unless I am missing the obvious, this wouldn't work because I have no way to
know what external links client's will link to. I need a method that wouldn't
fail.
tee
On Oct 22, 2010, at 4:54 AM, designer wrote:
> Forgive me if I'm missing the point here, but if you use:
>
> a {
> color : red;
> text-decoration : none;
> border : none;
> }
> a[href*="site1"] {
> color: #f00;
> background: #555;
> }
> a[href*="site2"] {
> color: #00f;
> background: #eee;
> }
> a[href*="site3"] {
> color: #0f0;
> background: #ff0;
> }
>
> It works for me. More importantly, it ignores any links containing "site", so
> in other words, it really does have to be the full domain for it to work. You
> can see this test here:
>
> http://www.betasite.fsnet.co.uk/gam/attribute_selectors_external.html
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************