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 03:03

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


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]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message