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 802389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:35:38+00:00 2026-05-14T23:35:38+00:00

Could anybody tell me with the pseudo class :active from css only works in

  • 0

Could anybody tell me with the pseudo class :active from css only works in IE7?

You can check my code on the following web page.
http://www.ercesar.com

UPDATED
What I mean is what it does on IE7, which once you click on the menu item, the image and the background image change even when you go away from the menu item.

I hope it helps to understand what I mean.

  • 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-05-14T23:35:39+00:00Added an answer on May 14, 2026 at 11:35 pm

    Please be more specific if not, but here’s what I think you mean. You’d like the menu item to stay white/highlighted when you click it. But the :active class is really made for when something is clicked–and only then. This works cross-browser as intended.

    To do what you seem to want to do, you may need to imploy javascript, or just actually link off to another page. What you seem to want is a ‘here’ state–which may sound conceptually like an ‘active’ state. You define this in CSS by, for example, giving your body a class that matches up to the class in your menu item, and styling appropriately. Or by giving the menu item a class ‘here’ if you can do that programmatically. Example:

    .home #menu .home a { color:white; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Could anybody tell me what's wrong with this code below, because I'm having problems
Could anybody tell me how I can override HashSet's contains() method to use a
Could anybody kindly tell me why I am getting a leak in the following
could anybody tell me how can I set a theme for my application which
Could anybody tell me what is wrong with this code ?? jQuery(document).ready(function(){ var val
Could anybody tell me please how can I get framerate of WM_PAINT message in
Could anybody explain, why next code isn't compiling? I'm creating a partially-specialized Map and
could please anybody tell me what is wrong with this regexp ? ((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))\\:([0-9]{2,5}) for
Could anybody tell me some simple and practical Single Sign-On and Single Sign-Off solutions
Here Malte talking about MT4 Server API. Could anybody tell me some simple how

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.