link colors

link colors

am 08.10.2007 13:25:56 von pkg

Dear all!

I want to create a link which is displayed as an image. So I tried the
following code:

How can I avoid the blue frame around the image without changing the
global options for links???

Many thanks for help!

BR

pkg

Re: link colors

am 08.10.2007 13:45:56 von removeme

pkg wrote:
> Dear all!
>
> I want to create a link which is displayed as an image. So I tried the
> following code:
>
> 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;
}

Re: link colors

am 08.10.2007 16:55:32 von pkg

On 8 Okt., 13:45, "John L." wrote:
> pkg wrote:
> > Dear all!
>
> > I want to create a link which is displayed as an image. So I tried the
> > following code:
> >
> > 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
------------------------

------------------------
but then the whole page was void!???

pkg

Re: link colors

am 08.10.2007 17:30:21 von lws4art

pkg wrote:
> On 8 Okt., 13:45, "John L." wrote:
>> pkg wrote:
>>> Dear all!
>>> I want to create a link which is displayed as an image. So I tried the
>>> following code:
>>>
>>> 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
> ------------------------
>
> ------------------------
> but then the whole page was void!???
>
> pkg
>

Because that is *not* the correct syntax.



and should be located within the documents HEAD element.

--
Take care,

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

Re: link colors

am 08.10.2007 17:40:47 von jkorpela

Scripsit pkg:

> I want to create a link which is displayed as an image.

Stop wanting that. Problem solved.

> So I tried the following code:
>

It's invalid syntax, and the URL isn't correct either.

> How can I avoid the blue frame around the image without changing the
> global options for links???

That would make the situation even worse, since now the user has no hint of
the image being a link. But you avoid this if you just don't use images as
links.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Re: link colors

am 08.10.2007 17:42:30 von pkg

On 8 Okt., 17:30, "Jonathan N. Little" wrote:
> pkg wrote:
> > On 8 Okt., 13:45, "John L." wrote:
> >> pkg wrote:
> >>> Dear all!
> >>> I want to create a link which is displayed as an image. So I tried the
> >>> following code:
> >>>
> >>> 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
> > ------------------------
> >
> > ------------------------
> > but then the whole page was void!???
>
> > pkg
>
> Because that is *not* the correct syntax.
>
>
>
> and should be located within the documents HEAD element.
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com

Ah yes! Thanks!
pkg