Jump to content

[SOLVED] Image Border


BrandonE97

Recommended Posts

I was trying to make an image border that is red and turns blue on mouse hover but all I get in IE is a purple border and firefox doesnt display it right either! The image is used for a link. Thanks.

 

img:link.pic, img:visited.pic {
border:2px;
color:#FF0000;
}
img:hover.pic {
border:2px;
color:#0000FF;
}

Link to comment
https://forums.phpfreaks.com/topic/51772-solved-image-border/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.