Bruce Searl wrote:
Hello all you CSS brains.
I've got what might be a simple "no", or "why would you?" or "You can - but you
shouldn't!" sort of question.
But thus far all I've been able to do is nothing...
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... so instead of
typically
doing it like this:
<td><a href="link.asp"><img src="image.jpg" border="0"></a></td>
It would be something like this...
<td border="0"><a href="link.asp"><img src="image.jpg"></a></td>
Of course my above example won't work... the image will have a link box around it... is
there a correct CSS way to do it?
I have not treied this with an explicit test case, but I think it is
correct and the CSS SelectOracle(1) gives the expected explanation.
td img a {border:none;}
(1) http://penguin.theopalgroup.com/cgi-bin/css3explainer/selectoracle.py
--
Bob Easton
Accessibility Matters: http://access-matters.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/