Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hover

Posted on 2006-11-21
1
Medium Priority
?
847 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

721 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