Solved

rollover links

Posted on 2001-06-11
3
166 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

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

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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

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

19 Experts available now in Live!

Get 1:1 Help Now