Hello,

I am having trouble getting an image rollover effect to work in  CSS.
Basicially I have a thumbnail image that I want to have a border that
expands when you mouseover the image (which is a link).


the code would be something like <a href="foo.htm"><img src="foo"
class="border"></a>

and I thought in CSS this would work:

img.border a:link{border: 1px solid red} 

img.border a:hover{border: 3px solid red}

but it doesn't.

what would be the proper method here?

-- 
::Bruce::
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to