Solved

not using the hover command for links

Posted on 2001-06-09
3
215 Views
Last Modified: 2012-06-27
I currently have a style sheet setup.  It uses the a:hover command.  The problem is there are some links I do not want to have the hover command. I

s there a way to disable it for the links that I do not want to use the hover command for?
0
Comment
Question by:isilver
[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
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
dij8 earned 50 total points
ID: 6171076
You can set a class for them.  Or a class for the ones you want to hover.  Either way.

<style type="text/css">
a:hover, a:active {
  color:#6699cc;
}
a:link, a:visited {
  color:#336699;
}
a:hover.wontchange, a:active.wontchange, a:link.wontchange, a:visited.wontchange {
  color:#336699;
}
</style>
<a href="nextpage.htm">next page</a>
<a href="prevpage.htm" class="wontchange">Previous page</a>
0
 
LVL 1

Author Comment

by:isilver
ID: 6171318
I could not get that to work.  However I declared a class called A:Hover.menu1.  I did not have a regular hover class.  Then I named all the rollover hyperlinks with menu1 and it worked.
0
 
LVL 10

Expert Comment

by:dij8
ID: 6171603
Glad to help.  Thanks for the A.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
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 style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

739 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