Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:20:12+00:00 2026-06-02T18:20:12+00:00

I am using the :active selector to attempt to style links whilst the mouse

  • 0

I am using the :active selector to attempt to style links whilst the mouse button is pressed against them.

This works fine in cool browsers, however IE 8/7 (The only versions I can test with) manage to show the style however the element keeps it’s :active styling after the button is depressed and the :active style also fires when the element has keyboard :focus (I believe this is the same bug as the element gets keyboard :focus after it is clicked).

Does anyone know a non-javascript work around?

A live example can be seen at: http://rcnhca.org.uk/sites/first_steps/communication/ (Try the buttons below the breadcrumb navigation).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:20:15+00:00Added an answer on June 2, 2026 at 6:20 pm

    There is no way to get :active working as you want it in IE7. If you can get it to work with javascript then that would be your best bet. IE8 and 9 should work perfectly in your example page above, it certainly seems to from my end. Other implementations of :active may not work as expected, such as in nested elements, but in your case it seems to work fine.

    See http://www.quirksmode.org/css/contents.html for information on compatibility.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this useful article on using Active Patterns with Regular Expressions: http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/ The
I believe there is an error in this line in Codeigniter using Active Records,
I am using active accessibility framework to enumerate all the controls for a given
I am using Active Record on CodeIgniter. I am confused on which approach I
In WPF and SubSonic 2 using Active Record, I was able to bind to
I have a 3.0.7 app using active scaffold from github vhochstein/master. I am using
I have a Silverlight 3 Application and for security I'm using Active Directory. For
My current project involves using LDAP (Active Directory) and I'm using issue tracking for
I'm using CodeIgniter's Active Record class to query the MySQL database. I need to
I'm using Devise and Active Admin, and so far there are playing nice together.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.