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
Navigation:
[Reply to this message]
|