954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

a:active Internet Explorer Fix

In CSS the pseudo class :active is supposed to make the object active and apply the given style for a split second. This works in every browser except Internet Explorer, in Internet Explorer it keeps it active until you click away (kind of how :focus works in other browsers). Also in Internet Explorer if the :active is on a link and when you click on it takes you to a new page and then if you go back it is still active. Is there a fix to this to make it act how it acts in Firefox? Preferably a CSS or HTML fix but a JavaScript one is fine. Below is an example of what I mean. Run the script I Firefox and see how it is supposed to work and then run it in Internet Explorer and see what the problem is. Attached is a web page with and example I put together. It is in text so just change it to an HTML file and see it.

Thank You

Attachments index.txt (0.83KB)
jonow
Junior Poster
104 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You