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

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]


Удаленная работа для программистов  •  Как заработать на 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

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