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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:24:08+00:00 2026-05-13T10:24:08+00:00

I am trying to style a menu, and am having troubles styling the a

  • 0

I am trying to style a menu, and am having troubles styling the “a tag” inside of the html table.
My default a tag styles are:

a:link { color : #69bfc8; text-decoration : none;}
a:visited {color : #69bfc8; text-decoration : none;}
a:hover {color : #606060; text-decoration : none;}

And the styles for the menu are:

td.menu {font-size: 9pt; width:150px; height:7px; border-bottom: 1px solid #e0e0e0;}
td.menu:hover {background: #69bfc8; color: #FFFFFF; } 
td.menu div {padding: 3px;}

The problem Im having is the color attribute isnt applied to “a tags” within the td element upon the hover event. It seems to remain compliant with the default styles. Now I know for sure, that this is more of lacking of my knowledge of CSS, so I dont mean to seem ignorant if I am missing some crucial principle. I just wasnt sure how to ask google this question.

So my question is, what am I missing, how do I style “a tags” within the td element, upon hover of the td element??

Any help is appreciated, thanks, Lea.

  • 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-13T10:24:08+00:00Added an answer on May 13, 2026 at 10:24 am

    The anchor tags don’t inherit text-specific styles, so you need to set them implicitly:

    td.menu:hover a { color: #FFFFFF; }
    

    Just remember that IE6 won’t fire the td:hover, so it might be better to change your code around a bit, so the anchor tag itself covers the whole space of the td, and then do:

    td.menu a:hover { background: #69bfc8; color: #FFFFFF; } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the jQuery UI to style my HTML select menu but
I've got this HTML that I'm trying to style: <div id=menubar> <menu id=menubarTransportControls>Foobar</menu> </div>
I am having real troubles with trying to align a horizontal menu.So far my
I'm trying to style a custom menu within drupal. I've sucessfully styled to display
I'm trying to create a Rhombus style links menu which goes horizontal across the
So I'm trying to adapt this Dropdown menu on Joomla the styles work great
Trying to work with a trivial navigation menu using django templates, I'm having trouble
I'm trying to style a menu, but I keep running into this weird margin
I'm using jquery ui 1.8.5, and i develop a menu, but i'm having troubles
I'm trying to make a simple accordion style menu using divs: <div class=subdomainLevel> Subdomain

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.