Previous Message
Next Message

Is it possible to style a cell TD so that images inside of itwith links have no border?

Sent by Peter Williams on 16 September 2005 02:02


> From: Bruce Searl
>  
> The goal is to apply formatting to a table or table cell, 
> that will prevent the border
> from showing if the image contained in it has a link around 
> it
> <td border="0"><a href="link.asp"><img src="image.jpg"></a></td>

Bruce,

td a img {border: none;}  should do the trick for you.
You could add text-decoration: none too just to be on the safe side.

-- 
Peter Williams
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message