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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:09:09+00:00 2026-06-11T20:09:09+00:00

So for whatever reason, I set a :hover pseudo-attribute on one of my divs

  • 0

So for whatever reason, I set a :hover pseudo-attribute on one of my divs so the hover color would be different, but it doesn’t seem to be working. I have other divs with hovers that work, so I’m not sure what the problem is (I just started learning CSS). Can someone look at my code? Thanks in advance. 🙂

Here’s my CSS, with the :hover pseudo-class that I’m having trouble with at the bottom:

#secondnavlinks ul {
display: inline;
text-align: center;
font-family: klavika-light;
list-style-type: none;
}



#secondnavlinks ul li {
display: inline;
text-align: center;
float: right;
font-family: klavika-light;
list-style-type: none;
margin-right:3%;
margin-top:17px;
white-space: nowrap;
}



#secondnavlinks ul li > a {
text-decoration: none;
color: #000000;
}​

#secondnavlinks ul li > a:hover {
color: grey;
}

And here’s the HTML, with the #secondnavlinks div which is the one I’m having trouble with:

<div id="nav">

<div id="footer">
</div>


<div id="secondnavlinks">
<ul>
<li><a href="#">Ambient Bookmarklet</a></li>
</ul>
</div>


<div id="class1">
<ul>
<li><a href="#">Saved</a></li>
<li><a href="#">Folders</a></li>
</ul>
</div>

<div id="header">
<img src="ambientfollowhead.gif" alt="ambientfollow" width="160" height="35" />
</div>



</div>
  • 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-11T20:09:10+00:00Added an answer on June 11, 2026 at 8:09 pm

    Try

    #secondnavlinks ul li a {
    text-decoration: none;
    color: #000000;
    }​
    
    #secondnavlinks ul li a:hover {
    color: grey;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On whatever reason this is not working (says 'file not found'), set in=c:\myprogram\_save cd
I'm sure I'm overlooking the obvious as I've got countless working buttons...but...for whatever reason
I have a batch script but for whatever reason once a value is set
For whatever reason, Sessions don't work in my Silex-app. I set error_reporting in my
I want to get this image uploading script right, but for whatever reason it
For whatever reason, my jquery loading overlay doesn't load at all under any circumstance
For whatever reason, I need to go through a MySQL result set twice. Is
For whatever reason, ThreadPool 's QueueWorkItem doesn't return an IAsyncResult or some other handle
Okay, for whatever reason I can't seem to figure this little problem out. I
I've searched and searched and for whatever reason I just can't seem to get

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.