This is a discussion on "Link help" within the Graphics and 3D section. This forum, and the thread "Link help are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Link help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Link help
Hey
How do I make a link that changes color when the mouse is over the link? Here is the page that contains the links that I need to change: http://www.laasanen.net/alina/paasivu.html The links on the page are the pics. Now the pics don't do anything when the mouse is over a pic. I want the pics to be first red and when the mouse is over a certain pic, the pic turns grey as it is seen now on the page. Please help! |
|
|
|
#2
|
|||
|
|||
|
Re: Link help
|
|
#3
|
|||
|
|||
|
Re: Link help
Place this piece of code between the <head></head> tags of your page and make sure to replace the colors to whatever you want:
<style type="text/css"> a{color: grey;} a:hover {color: red;} a:visited { color: black;} </style> Hope it helps... Cheers, Bruno Aun |
|
#4
|
|||
|
|||
|
Re: Link help
You can only change the colour of text using a stylesheet.
In order to do what you want, you need to load a different image on mouseover, the image being a different colour. Simply use onMouseOver and onMouseOut to change the image. |
![]() |
| Tags |
| link, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Making a link non-link when on the page. | mcdanielnc89 | Web Page Design | 1 | Nov 16th, 2007 08:05 |
| Link Validation with message below and new link! | stefffff | JavaScript Forum | 3 | Apr 25th, 2007 20:33 |
| Where to link? | Pickle | Link Building and Link Sales | 3 | Aug 19th, 2006 10:14 |
| Link Me. Link Me!!! | timmytots | Link Building and Link Sales | 1 | Aug 19th, 2006 09:39 |