On 7/10/06, Christian Montoya <[EMAIL PROTECTED]> wrote:
#apartment-image div a:hover img {
border: 2px solid red;
}

This is what you should do.

Whoops, forgot to finish that:

You can probably follow that up with

margin:-2px;

to get the border "inside" the image, but I can't promise that it will
actually work across browsers. Also, when changing a child element of
an anchor tag on hover, you need to have some sort of change on the
anchor tag itself for it to work in IE.


--
--
Christian Montoya
christianmontoya.com ... portfolio.christianmontoya.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to