rollover links

Posted on 2001-06-11
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?
Question by:legscrazy
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

Accepted Solution

klykken earned 50 total points
ID: 6177406
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}

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

Author Comment

ID: 6177657
Thanks very much!!

Expert Comment

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

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
Hide/ show a recordset row item 6 463
HELP.. background images in eblasting 25 385
What is the better way of creating buttons by using dreamweaver? 4 147
Semi-transparent PNG 5 204
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 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