Old 02-02-2006, 05:56   #1 (permalink)
John Good
+
 
John Good's Avatar
 
Join Date: May 2005
Location: Tropical Networks
Posts: 1,605
multiple classes on a link

hello,

in the html code I've got :

<a href="mailto:name@website.com><strong>name</strong>@website.com</a>

in the css :

a:hover { color: #008EAF; }
strong { color: #333333; }

THE PROBLEM :

when the file is opened locally in the browser and I do a rollover, only the website.com has it's color changed.
when the file is online, and I visit the page and I do a rollover, the full link, name@website.com, has it's color changed.

how strange !?!

I guess that I'm about to discover what 'Cascading' really means
  Reply With Quote
Old 07-02-2006, 15:34   #2 (permalink)
tobor
Senior Member
 
tobor's Avatar
 
Join Date: Apr 2005
Location: Toronto, Canada
Posts: 162
maybe
strong:hover { color: #008EAF; }
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8