If I did that then the border [on the 'a'] appears a few pixels below the 
bottom of the image (looks wrong).

To get it directly under the image I'd have to add margin-bottom: 0; to the 
'a' which defeats the purpose of removing the underline.

Thanks for your help anyway.

----- Original Message ----- 
From: "Paul Novitski" <[EMAIL PROTECTED]>

| But in this case, I don't think you have to.  If an image is the only 
thing
| inside a hyperlink, why not simply remove your border from any image whose
| parent is an anchor?
|
|         a
|         {
|                 text-decoration: none;
|                 border-bottom: thin solid #000;
|         }
|         a img
|         {
|                 border-bottom: none;
|         }
|
| Paul
|

******************************************************
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