NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page [CSS] a:visited:hover and IE

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
9 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Closed Thread
 
LinkBack Thread Tools
Old 05-08-2005, 05:21 PM THREAD STARTER               #1 (permalink)
NamePros Member
 
branwen's Avatar
Join Date: May 2005
Location: Texas
Posts: 25
branwen is an unknown quantity at this point
 



Question [CSS] a:visited:hover and IE


I have been having problems with getting a visited link to changed when hovered over in IE. It works just fine in Firefox. When I look at it in IE, the hover works before it is visited, but not after. Here are some snippets of code from different links:

.nav a { margin: 0px; text-decoration: none; color: #FFFFFF; font-weight: bold; }
.nav a:hover { margin: 0px; text-decoration: none; color: #FDE892; font-weight: bold; }
.nav a:visited:hover { margin: 0px; text-decoration: none; color: #FDE892; font-weight: bold; }
.nav a:visited { margin: 0px; text-decoration: none; color: #FFFFFF; font-weight: bold; }
????: NamePros.com http://www.namepros.com/web-design-discussion/88753-css-a-visited-hover-and-ie.html


<--and another snippet-->

a.bl { margin: 0px; text-decoration: none; color: #FFFFFF; font-size: 10pt; font-weight: bold; }
a:active.bl { margin: 0px; text-decoration: none; color: #FFFFFF; font-size: 10pt; font-weight: bold; }
a:hover.bl { margin: 0px; text-decoration: none; color: #CF3600; font-size: 10pt; font-weight: bold; }
a:visited:hover.bl { margin: 0px; text-decoration: none; color: #CF3600; font-size: 10pt; font-weight: bold; }
a:visited.bl { margin: 0px; text-decoration: none; color: #FFFFFF; font-size: 10pt; font-weight: bold; }

<---and another...---->

a { color: #F36D00; font-weight: normal; }
a:hover { color: #F7B942; font-weight: normal; }
a:visited:hover { color: #F7B942; font-weight: normal; }
a:visited { color: #F36D00; font-weight: normal; }


None of them seem to hover visited in IE.
Thanks for any help!!!!
branwen is offline  
Old 05-08-2005, 06:39 PM   #2 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



Visited comes before hover in the CSS.

a:link
a:visited
a:hover
Rowan W is offline  
Old 05-08-2005, 07:57 PM   #3 (permalink)
no one lives forever
 
StudioWorks's Avatar
Join Date: Apr 2004
Location: NamePros
Posts: 8,075
StudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to beholdStudioWorks is a splendid one to behold
 



go to alistapart.com if you have more problems with CSS and links.
__________________
epagini.com mexicorealty.net softwarepit.com yadasoftware.com
StudioWorks is offline  
Old 05-14-2005, 04:35 PM   #4 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Easy trick to remember the order of these pseudo-classes is:
LoVe HAte
(Link, Visted, Hover, Active)

They need to go in that order or CSS's natural cascading will cause for example "link" to supercede "visited" if you put link after visited. Just put 'em in LoVeHAte order and you'll be fine.
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Old 05-14-2005, 10:38 PM THREAD STARTER               #5 (permalink)
NamePros Member
 
branwen's Avatar
Join Date: May 2005
Location: Texas
Posts: 25
branwen is an unknown quantity at this point
 




Thanks, everyone!
branwen is offline  
Old 05-14-2005, 10:49 PM   #6 (permalink)
NamePros Member
Join Date: May 2005
Location: Osaka, Japan
Posts: 37
df-sean is an unknown quantity at this point
 



Anytime ;-)
__________________
:::: Â*DataFly.Net Â*::::
Rock-Solid Linux Web Hosting

http://www.datafly.net
df-sean is offline  
Closed Thread


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


 
All times are GMT -7. The time now is 07:25 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger