|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have used the following style sheet to change the colour of the links on my page as the mouse rolls over them:
<STYLE> <!-- a:hover {color:ff0000} --> </STYLE> URL However, some links contain images, which are shown with a border of the default link colour. How can I change the border colour of the linked images, as the mouse rolls over them? Thanking you. [This message has been edited by christine (edited 04-29-99).] [This message has been edited by christine (edited 04-30-99).] |
|
#2
|
|||
|
|||
|
Hi Christine!
I'm not used to style sheets, but I know how to change the border color of linked images. You just have to set the color of your choice with the property link="#AAAAAA" which you can insert in a body tag. I guess you can use it with style sheets. Anyway, if you just don't want it to get on your nerves, you may just insert border="no" in your IMG tag. Then you won't have anymore border. Hope it was helpfull Souvenirs de France. Bye. EB |
|
#3
|
|||
|
|||
|
Try this in your
<head> <style> <!-- A:link {color:#A13A03; text-decoration: none} A:visited {color:#A13A03; text-decoration: none} A:active {color:#0063A4; text-decoration: none} A:hover {color:#003366; text-decoration: underline} --> </style> </head> On your images, the tag should look something like this: <img src="image.gif" border="2"> Hope this helps ------------------ Striker |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > rollover image links |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|