Solved

rollover links

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

829 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