Reply to Re: link colors

Your name:

Reply:


Posted by Jonathan N. Little on 10/08/07 15:30

pkg wrote:
> On 8 Okt., 13:45, "John L." <remov...@edombmtech.co.uk> wrote:
>> pkg wrote:
>>> Dear all!
>>> I want to create a link which is displayed as an image. So I tried the
>>> following code:
>>> <a href="http:/...de"><img src="....gif"</a>
>>> How can I avoid the blue frame around the image without changing the
>>> global options for links???
>>> Many thanks for help!
>> Add the following to your style sheet:
>>
>> a img {
>> border: 0;
>>
>> }
>
> I don't have (and would prefer not to make) a special style sheet ...
> I tried
> ------------------------
> <style a img {
> border: 0;
>
> blablabla
>
> </style>
> ------------------------
> but then the whole page was void!???
>
> pkg
>

Because that is *not* the correct syntax.

<style type="text/css">
a img {
border: 0;
}
</style>

and should be located within the documents HEAD element.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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