I am doing a small image gallery. I have a border around the images, and on mouse over I want the border to change colour. Now I have got this working in Firfox but obviously I came across some problems in IE because it only supports :hover on the <a> tag. This is the code im using:
I was wondering if anyone knows any fixes to get this working in IE. I have came up with a javascript solution, but I would rather hav it done in CSS because the page already has a fair amount of javascript.
Thanks for any help you can give me.
Harro
HTML:
a img.gallery {
width: 25%;
height: 25%;
border: 5px solid #8EA113;
margin: 10px;
}
a:hover img.gallery {
width: 25%;
height: 25%;
border: 5px solid #fff;
margin: 10px;
}
Thanks for any help you can give me.
Harro





