Solved

hover

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

708 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

17 Experts available now in Live!

Get 1:1 Help Now