[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Changing the background colour on the over state of a button

Posted on 2006-05-27
Medium Priority
Last Modified: 2010-04-07
Hi all,
I know this is a fairly simple question, just can't seem to figure out how to do it. On the page (http://www.reachateacher.ie/businesslive.dwt.php) I have an "Add Your Comment" button. When I scroll over it, the background colour changes to an ugly green by default! Where do I control this property from?
Question by:dereksheahan
LVL 30

Expert Comment

by:Irwin Santos
ID: 16776312
locate this
#Layer3 {
      background-color: #448BBF;

and change your background color
LVL 70

Accepted Solution

Jason C. Levine earned 1200 total points
ID: 16777882

The "Add Your Comment" is a regular text link and thus is controlled by the A stuff in the stylesheet:

A { text-decoration:none;}
A:link      {color:blue;}
A:visited{color: blue;}
A:hover      {color: red;background-color:#66ffff;}

Change the a:hover property to fix the bg color.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

834 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