Solved

rollover links

Posted on 2001-06-11
3
170 Views
Last Modified: 2010-04-25
Is it possible to have 2 links of 2 different colours to change to 2 different colours when rolled over on the same page?
0
Comment
Question by:legscrazy
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
klykken earned 50 total points
ID: 6177406
legscracy,
yes it is possible.

You can specify link, visited, hover and active for different links this way:

<style type="text/css">
<!--
.one a:link {color: #000000}
.one a:visited {color: #000000}
.one a:hover {color: #CCCCCC}
.one a:active {color: #000000}

.two a:link {color: #CC0066}
.two a:visited {color: #CC0066}
.two a:hover {color: #FFCCCC}
.two a:active {color: #CC0066}
-->
</style>

<div class="one"><a href="link1.html">Link One</a></div>
<div class="two"><a href="link2.html">Link Two</a></div>
--
klykken
0
 

Author Comment

by:legscrazy
ID: 6177657
Thanks very much!!
0
 
LVL 8

Expert Comment

by:klykken
ID: 6177910
Glad to be of help,
and thanx for the A! :)
--
klykken
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
2 containers on one webpage 4 254
Download all files with one click 7 609
Resume template for HTML/Dreamweaver website 9 527
Dreamweaver rs SQL format question 4 104
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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