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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:18:23+00:00 2026-05-11T01:18:23+00:00

a { color: #000; } a:hover { text-decoration: none; color: #fff; } That is

  • 0
a {     color: #000; }  a:hover {     text-decoration: none;     color: #fff; } 

That is the code I use. But, none of the links I have in my pages listen to this. They abide by this instead:

#menu li, a {     text-align: center;     display: block;     float: left;     margin: 0;     font-family: Arial, Helvetica, sans-serif;     font-size:1.2em;     color: #575757;     text-decoration: none;     list-style: none; } 

Therefore a lot of the links are skewed, as they all float left and things.
The code for the links itself isn’t wrapped in any way. At least not in a way that explains my errors.

<div id='footer'>   <p><center>Copyright 2008 - <a href='index.php'>G.S.B.V. Pugilice</a></center></p> </div> 

That bit of code gives me two lines instead of one, the link floats left on the second line.

  • 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. 2026-05-11T01:18:24+00:00Added an answer on May 11, 2026 at 1:18 am

    I think you may be mis-understanding how selectors work.

    #menu li, a { ... } 

    Means apply styles to any li descendant of a element with the id #menu and to any a found any where.

    Did you actually intend:-

    #menu li, #menu a {...} 

    ?

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

Sidebar

Related Questions

I have some menu bar from Google. but none of that work on IE
I use two different a:link/a:visited/a:hover tags.. But the links in .panel take over the
So, this is the example of LESS code .my_class{ color: #000; font: 12px/12px Arial;
I have created a list of images on one of my web pages that
I have a code that will allow FlowPlayer to retrieve a Javascript array and
enum color = {blue, black=3, yellow=3}; 2 colors have the value 3, is it
When plotting color-maps using gnuplot, I usually use the following lines: ... set palette
I have a Color companion object which holds a few useful colors, and I'd
I need color picker on my page. First, I placed Primefaces' colorpicker, but when
I can load the Color contents of the Current Window using GetDIBits but i

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.