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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:51:00+00:00 2026-06-09T13:51:00+00:00

I made a page which is saved in this fiddle (original fiddle link). Here

  • 0

I made a page which is saved in this fiddle (original fiddle link).

Here I have set the color of the link in case of link,active,visited,hover. But after the first time, whenever I load the page in firefox, it always shows the color of visited i.e. pink. How can I reset the color as yellow i.e.the link color, that is shown the first time?

Also I could not understand how can I check if the blue color i.e. color of active is coming or not?

  • 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-09T13:51:01+00:00Added an answer on June 9, 2026 at 1:51 pm

    I think what you really want is the :focus psuedo-selector, not the :visited selector, since you don’t want a durable (i.e., kept per page load) change. You want an in this instance change. :active only works for the duration of a mouse-click on a link.

    See:

    A:focus {
        text-decoration: line-through;
        color: pink;
    }
    

    http://jsfiddle.net/w4ByF/3/

    And click on the first link. You’ll see it take the :focus psuedo-selector.

    Here the effect is a little easier to see:

    http://jsfiddle.net/w4ByF/4/

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

Sidebar

Related Questions

I have made a JSP page which send request to @controller into method UserList()
I have made a question which is a bit similar to this, though the
I have made an asp.net page which executes a long sp. lets say the
I've made a Chrome extension with an options page. The data is saved in
I have made an option page for my chrome application. Have designed the form
I'm working on application which has workflow like this: 1.parsing home page (using HttpURLConnection,
Hello Ive made a page which has an image of width 1300px as its
I have a products page which displays 10 products on each page. The GET
I have WebUserControl which made of 3 DropDownLists (day/month/year). It has public property DateTime
i have a user model with a password attribute, which gets saved as password_digest.

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.