You are here: Re: Remove underline from image links (CSS) « HTML « IT news, forums, messages
Re: Remove underline from image links (CSS)

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация