Solved

hover

Posted on 2006-11-21
1
811 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Positioning of an element a percentage from the top. 14 32
Best Practice CSS floating images 2 33
Custom Form Design to Match this example 1 15
CSS z-index issue 3 20
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article discusses four methods for overlaying images in a container on a web page
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 customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

911 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

21 Experts available now in Live!

Get 1:1 Help Now