linked Images ,please help

11 views
Skip to first unread message

Hanan Cohen

unread,
May 30, 1996, 3:00:00 AM5/30/96
to

When I link an image and view the HTML with Netscape 2.0 I see a small
line at the bottom right corner of the image ?

How can I remove it ?

Thanks.

Love and peace for all.

Nate Patwardhan

unread,
May 30, 1996, 3:00:00 AM5/30/96
to

>
Why not set border=0 in your <IMG> tag?

Nate
n...@nfic.com

John Powell

unread,
May 30, 1996, 3:00:00 AM5/30/96
to

Hanan Cohen <bas...@netvision.net.il> wrote:

>When I link an image and view the HTML with Netscape 2.0 I see a small
>line at the bottom right corner of the image ?

>How can I remove it ?

It could be that you have either a space or a carriage return within
or just outside of your <img> tag; I have heard that this causes a
small line to be rendered after the image.
good luck and happy surfin'
jp Water is composed of two gins, Oxygin and Hydrogin. Oxygin is pure gin. Hydrogin is gin and water.
\\\\\\// http://www.mindspring.com/~johnp
(@ @) jo...@mindspring.com
() 75554...@compuserve.com
{__} JPowe...@aol.com



Matthew Powell

unread,
May 30, 1996, 3:00:00 AM5/30/96
to

Hanan Cohen wrote:

> When I link an image and view the HTML with Netscape 2.0 I see a small
> line at the bottom right corner of the image ?

This often occurs if your </a> tag is on a different line than <img
src=..> in the HTML source.

I *know* line breaks are supposed to be ignored so I guess this is a bug
in Netscape.


Matthew.

--

Matthew Powell, Trinity Hall, Cambridge mc...@cam.ac.uk
http://www.imaginator.com/matthew/

Protect yourself on Usenet!
http://www.imaginator.com/matthew/stuff/protect.html

Alan J. Flavell

unread,
May 30, 1996, 3:00:00 AM5/30/96
to

On Thu, 30 May 1996, Matthew Powell wrote:

> Hanan Cohen wrote:
>
> > When I link an image and view the HTML with Netscape 2.0 I see a small
> > line at the bottom right corner of the image ?
>
> This often occurs if your </a> tag is on a different line than <img
> src=..> in the HTML source.

Yes. Review the concept of "white space" in the HTML specs.

> I *know* line breaks are supposed to be ignored

If you *know* it then you can surely quote the place in the spec
where it's laid down? I don't think you can.

Line breaks on input are treated as "white space", and condensed
to a single white space. If that's nonfunctional, it would disappear.
If it isn't, then it stays. I'm reckon that in this case, it stays.

You surely don't intend that this input:

now
here

would result in this display:

nowhere

? Of course not. Now, recall that <IMG> is a character level
markup. So the above example is structurally equivalent to

<IMG...>
here

Ergo, the white space stays. Since the white space is in the scope of an
anchor, it gets underscored by this particular browser. Recall, each
browser displays anchors to the user according to its design. Might
use an underscore, a coloured frame, a pseudo button or whatever.

I'm open to correction by anyone who can quote the spec. Those
who just say "I *know*" get the booby prize. ;-)

I went to Downing myself, but that doesn't change the facts. ;-))

cheers


Chad Hanna

unread,
May 31, 1996, 3:00:00 AM5/31/96
to

In article <31AE54...@netvision.net.il>, Hanan Cohen
<bas...@netvision.net.il> writes

>When I link an image and view the HTML with Netscape 2.0 I see a small
>line at the bottom right corner of the image ?
>
>How can I remove it ?

I believe this is often called a "nick" and is underlined "whitespace"
The whitespace can be a space or, more usually, a newline. Make sure
that </A> immediately follows the <IMG SRC=...> tag

Cheers

--
Chad Hanna
Chad Hanna and Associates connect RDBMS to WWW
Chairman Berkshire Family History Society

Daniel A. Kirkdorffer

unread,
May 31, 1996, 3:00:00 AM5/31/96
to Hanan Cohen

Hanan Cohen wrote:
>
> When I link an image and view the HTML with Netscape 2.0 I see a small
> line at the bottom right corner of the image ?
>
> How can I remove it ?
>
> Thanks.
>
> Love and peace for all.

If a browser has underline turned on something like this would produce
that: <a href="link..."><img src="image..."> </a>
^
space

The space is treated a text that will be underlined. Perhaps that's your
problem.

Dan

--
Daniel A. Kirkdorffer
Email: e#ki...@ccmail.ceco.com or DanK...@aol.com
The Gallimaufry: http://members.aol.com/dankirkd/
Elephant Talk: http://members.aol.com/etmirror/
little a: http://members.aol.com/sayaaahh/

Reply all
Reply to author
Forward
0 new messages