close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Disable "Visited" in IE

Thread began 6/27/2011 10:58 am by Mike Perry | Last modified 6/29/2011 8:22 am by Mike Perry | 1955 views | 4 replies |

Mike Perry

Disable "Visited" in IE

The "visited" state is overriding the hover color in a menu in IE. It is not an issue in Firefox.

I don't want to set a visited color, as it will then show in the nav. . .

Is there a way to disable the "visited" rule in IE??

Sign in to reply to this post

Jason ByrnesWebAssist

You cannot disable the visited style in one browser without disabling it in all browsers.

Post a link where i can see the problem to investigate the cause further.

Sign in to reply to this post

Mike Perry

Hi Jason --

Try here . Visit HOME, SERVICES, or GALLERY. Once you have visited any of them, the rollover color for that page doesn't change to white; however the current color does change to white (IE only).

Thanks,

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

you dont have any visited attributes applied in the style, since you do not supply any visited attributes for he menu items, the active class is applied which over rides the hover class.


since the visited attributes are not set, the hover attribute cannot be applied t the menu items in IE due to css specificity.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  you dont have any visited attributes applied in the style, since you do not supply any visited attributes for he menu items, the active class is applied which over rides the hover class.


since the visited attributes are not set, the hover attribute cannot be applied t the menu items in IE due to css specificity.  


So I should set the "visited" style to match the "link" style, then when the mouse hovers it will change to the hover style??

It DOES go bold, which is one of the hover attributes though. I'll add the "visited" style and see what happens. . .

ETA: Added a "visited" style -- same color as link. The visited links go BOLD on a hover, but stay the color of the visited style -- no white. . .

Very strange

ETA2: The "active" class is set to #ffffff as well.

ETA3: Solved -- had to manually add the "ul#cssmw li a:hover" declaration after the "ul#cssmw li a:visited" declaration.

Working now -- thanks, Jason. . .

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...