You can\'t do that with inline styles since you can\'t use the hover psuedoclassamobob.
img:hover might work in Mozilla, but I don\'t think that it will work in IE.
I guess that this will make it work in all browsers. (I think )
Code:
a:link img {
border: 1px solid black;
}
a:hover img {
border: 1px solid red;
}
I wouldn\'t know if that works since I haven\'t actually tried it.