Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

hover

Posted on 2006-11-21
1
Medium Priority
?
849 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

927 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