On 10/21/10 2:49 PM, tee wrote:
I tried but couldn't get it to work.
I tried these:
a[href="http://site.com"] {color: #e21;background: #555;}
a[href="http://www.site.com"] {color: #e21;background: #555;}
a[href="http://subdomain.site.com/"] {color: #e21;background: #555;}
a[href^="http://subdomain.site.com"] {color: #e21;background: #555;}
a[href^="http://subdomain.site.com/"] {color: #e21;background:
#555;} and also tried yours a[href*="http://subdomain.site.com"]
{color: #e21;background: #555;}
The only way I could get it works is this:
a[href^="http"]{color: #e21;background: #555;}
tee
On Oct 20, 2010, at 5:51 PM, Thierry Koblentz wrote:
If you deal with absolute paths, you should be able to match
internal links with this:
a[href*='domain-name']
-- Regards, Thierry
Umm. In your particular case, 'domain-name' would be 'site.com'. I
believe Thierry meant you to use -
a[href*="site.com"] {...}
Is that what you tried?
Cordially,
David
--
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************