Philippe Wittenbergh wrote:
> On Feb 16, 2006, at 6:33 PM, Els wrote:
>
>> Bruce MacKay wrote:
>>> Hi folks,
>>>
>>> I have a "border-bottom: 1px dotted #bbb;" style applied to
>>> my links.  I only want the style applied to text links, not
>>> image links.  My problem is: How do I get it turned off
>>> image links?
>>
>> a:link{border-bottom:1px dotted #bbb;}
>> a:link img{border-bottom:none;}
>
> That doesn't work in decent browsers. The image is a child of
> the <a>, meaning, the dotted border stretches around the image.

Oops, sorry. That'll teach me reply without checking first ...

> a.noborder {border-bottom:none}
> <a class="noborder"><img src="" alt=""...></a>


Much better :-)

-- 
Els
http://locusmeus.com/
http://locusoptimus.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to