Posted by Jonathan N. Little on 07/04/06 23:14
pepito3@gmail.com wrote:
>> What is "on" by default is text-decoration: underline; You turn
>> this off by text-decoration: none; That is one thing. The other
>> thing is the border. You turn this off by border: none; You need
>> to deal with these two things separately.
>>
>> --
>> dorayme
>
> This doesn't work either:
>
> a img {
>
> border-bottom-style:none;
> border-bottom-width:0px;
> text-decoration: none;
> border:none;
> }
>
The text-decoration is on the A element not the IMG, border on the IMG
A.without_u { text-decoration: none; }
A IMG { border: 0; }
<a class="without_u" href="whatever.html"><img src="some.jpg" alt="click
me"></a>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|