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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:13:21+00:00 2026-06-13T13:13:21+00:00

As you can see, On hovering a li element,the right background image also disappears

  • 0

As you can see, On hovering a li element,the right background image also disappears along with it with the help of background-image:none property. However only the hovered li disappears but the background image of previous li is still seen.Although a minor , I would like it removed. Can anyone tell me how?. 🙂

As I am new , Im not allowed to post images. Check the website out at http://ashwin931996.webege.com/
Thanks a lot btw

  • 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-13T13:13:23+00:00Added an answer on June 13, 2026 at 1:13 pm

    Use this jquery. Here i paste the full html code. use this.

    <!DOCTYPE html>
    <html>
    <head>
    <title></title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
    <link type="text/css" rel="stylesheet" href=""/>
    <style type="text/css">
     #header ul {
        padding-top:1em;
          }
    
       #header ul li a.currentpage {
        color:white !important;
        background-color: #F96E5B !important;
       }
    
       #header ul li a {
        text-decoration: none;
        color:#676767;
        font-family: 'Oswald', sans-serif;
        font-size: 1em;
        float:right;
        line-height: 3em;
        padding-right: 1em;
        padding-left:1em;
           }
    
    
    #header ul li a.active
    {background-color: #F96E99;
    color: white;}
    
    
    </style>
    </head>
    <body>
    <div id="header">
     <img id="logo" src="images/logo.jpg">
     <ul>
     <li>
    <a class="one active" href="#">CONTACT</a>
    </li>
    <li>
    <a class="two" href="#">GALLERY</a>
    </li  class="one">
    <li>
    <a class="three" href="#">EVENTS</a>
    </li>
    <li>
    <a class="four" href="#">HOME </a>
    </li>
     </ul>          
     </div>
    <script type="text/javascript">
    $("#header ul li a").click( function() {
    $("#header ul li a").removeClass("active");
    $(this).addClass("active");
    })
    </script>
    
    
    </body>
    </html>​
    

    Demo: http://jsfiddle.net/PbMg2/2/

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

Sidebar

Related Questions

In the eg below you can see that when I'm hovering the image the
I can see it looks like an alias for an unsigned int pointer, right?
You can see an example here: http://jsfiddle.net/TuH95/5/ When you hover over the li element
I'm setting up a site using the Nivo image slider. You can see the
Using the flot library, how can I show the point only when hovering over
As you can see here; http://bit.ly/sifpz9 , when hovering over whats new or accessories
I can see the Graphical Layout of the XML file within the /res/layout folder,
I can see where svn:keywords like Id, LastChangedDate and Author are used and replaced
I can see how to change the fonts and colors in the IDE. Is
I can see that GD library is for images. But I can't see differences

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.