Hey lets say I have 10 links on site. When someone mouses over one I want just that ones text to change blue ( note: not the other links, just the one moused over).
Anyone know how I can do this?
Thanks for all help and advice provided.
Making one link change color when moused over
Moderator: General Moderators
now this is a client-side question 
css defines a pseudo-class a:hover that applies to anchor-elements that have the focus
css defines a pseudo-class a:hover that applies to anchor-elements that have the focus
Code: Select all
<html>
<head>
<style type="text/css">
a:hover { color: white; background-color: blue; }
</style>
</head>
<body>
<a href="javascript:void(0)">link a</a><br />
<a href="javascript:void(0)">link b</a><br />
<a href="javascript:void(0)">link c</a><br />
<a href="javascript:void(0)">link d</a><br />
</body>
</html>-
bionicdonkey
- Forum Contributor
- Posts: 132
- Joined: Fri Jan 31, 2003 2:28 am
- Location: Sydney, Australia
- Contact: