CSS Issue

Posted on 2013-12-27
Medium Priority
Last Modified: 2013-12-28

Please go to rkassoc.org/FWLSCO. Use login of tester, password of ttemp.

Notice on the next page (main.php) the menu bar; I want to text color to be BLACK when the mouse hovers over something with background of the light yellow.

I can't figure out how to make it do that.

CSS is inline; see by viewing source.

What will make the text color black on the yellow background & everything else JUST like it is now?

Question by:Richard Korts
  • 2
  • 2
LVL 54

Accepted Solution

Scott Fell,  EE MVE earned 2000 total points
ID: 39742956
Did you try

ul.drop li a:hover{color:black;}

Author Closing Comment

by:Richard Korts
ID: 39742961
That's perfect EXCEPT on the Menubar Item "Workorders" which has two dropdowns underneath; when you move off the Workorder menu item, the font color changes back to white; nice if it stayed back (for visibility).

LVL 54

Expert Comment

by:Scott Fell, EE MVE
ID: 39742984
Try just using

li:hover a{ color:black;}

Author Comment

by:Richard Korts
ID: 39743798
That changed the font text color to black in the pulldowns; not good.


Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question