Solved

hover

Posted on 2006-11-21
1
821 Views
Last Modified: 2013-12-03
can someone tell me why my hover doesnt work ?

<style type="text/css">
.banner {
      font-family:Impact;
      font-size:32pt;
      color:#595959;
}

.banner a:hover {
      font-family:Impact;
      font-size:32pt;
      color:#c9585a;
}
</style>
<a href="#" class="banner">TEXT GOES HERE</a>
0
Comment
Question by:Sabrin
1 Comment
 
LVL 33

Accepted Solution

by:
sajuks earned 500 total points
ID: 17992659
use
.banner:hover {
     font-family:Impact;
     font-size:32pt;
     color:#c9585a;
}
instead of
.banner a:hover {
     font-family:Impact;
     font-size:32pt;
     color:#c9585a;
}
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now