|
Posted by Rik on 07/04/06 18:47
pepito3@gmail.com wrote:
> Hello, I have the following CSS rule to underline my way
>
> a {
> border-bottom-style: dotted;
> border-bottom-width: 1px;
> }
>
> But I want images not to have a dotted underline (just nothing) and I
> don't know how to do it.
>
> I have tried the following:
>
> a img {
> border-bottom-style: none;
> border-bottom-width: 0px;
> }
Here you say the img contained in an a should not have a border, the "a"
still has one.
> .without_u {
> border-bottom-style: none;
> border-bottom-width: 0px;
> }
>
> <a class="without_u" ...> <img class="without_u" ... /> </a>
..without_u{
border:none;
}
Works here in both Opera and MSIE, you don't need the class on the image.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|