Hi Venkatesan,

Is there any chance 'img' can be a parent of 'anchor' tag?

How about this then:

a img, img a {
 text-decoration : none;
}

This is a fuller version with some interaction as a usability enahancement.

img, a img, img a {
 text-decoration : none;
 border : 2px solid #ccc; /* try the background color if wanted */
 font-size : 80%;  /* allows more alt text without overflow issues */
}

img a:hover, img a:focus {
 border : 2px solid #999;
}

img a:active{  /* focus in IE, onkeypress for all else (?) */
 border : 2px solid #000;
}

Respectfully,
Mike Cherim
www.green-beast-com



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to