Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > odd image puzzler

Reply
Thread Tools

odd image puzzler

 
 
Richard
Guest
Posts: n/a
 
      01-04-2004
www.1-large-world.com/images/xtest.jpg

Compare the image on the left to the one on the right.
I can't for the life of me figure out why that little _ character shows up
just after the image.
Other than the possibility of the </a> tag being on a seperate line.
If I put the </a> tag on the same line, the character goes away, but then
the text appears immediately after the image, so I have to put in a <br>.
This happens in both IE and mozilla.

Just curious to know why this is.

This never happened before tonight.
The only other thing I did tonight was install one program.
Could this have screwed up a shared file perhaps?


 
Reply With Quote
 
 
 
 
Leif K-Brooks
Guest
Posts: n/a
 
      01-04-2004
Richard wrote:
> www.1-large-world.com/images/xtest.jpg
>
> Compare the image on the left to the one on the right.
> I can't for the life of me figure out why that little _ character shows up
> just after the image.


And how are we supposed to help without seeing your HTML? Give us a URL
to the actual page, please.

 
Reply With Quote
 
 
 
 
PeterMcC
Guest
Posts: n/a
 
      01-04-2004
Richard wrote:
> www.1-large-world.com/images/xtest.jpg
>
> Compare the image on the left to the one on the right.
> I can't for the life of me figure out why that little _ character
> shows up just after the image.
> Other than the possibility of the </a> tag being on a seperate line.
> If I put the </a> tag on the same line, the character goes away, but
> then the text appears immediately after the image, so I have to put
> in a <br>. This happens in both IE and mozilla.
>
> Just curious to know why this is.
>
> This never happened before tonight.
> The only other thing I did tonight was install one program.
> Could this have screwed up a shared file perhaps?


URL of real page?

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
 
Reply With Quote
 
Bob Long
Guest
Posts: n/a
 
      01-04-2004
In news:(E-Mail Removed),
Richard <anonymous@127.000> typed:
> www.1-large-world.com/images/xtest.jpg


A real URL would be more helpful.

> Compare the image on the left to the one on the right.
> I can't for the life of me figure out why that little _ character
> shows up just after the image.
> Other than the possibility of the </a> tag being on a seperate line.
> If I put the </a> tag on the same line, the character goes away,


That is most likely it. The new line is being treated as white space. And as
it is within the anchor, it will thus be underlined as part of the link.

> but
> then the text appears immediately after the image, so I have to put
> in a <br>. This happens in both IE and mozilla.
>
> Just curious to know why this is.


If you are putting </a> on a new line to "force' text to a new line, then
you have the wrong approach.

Bob Long



 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      01-04-2004
Richard wrote:

> Other than the possibility of the </a> tag being on a seperate line.


That is why.

The new line causes white space to appear. (You would hate it if it didn't
-- trust me!) As that white spcae is before the "</a>", it is part of the
link, and thus underlined.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Trevor George
Guest
Posts: n/a
 
      01-04-2004
Richard wrote in message ...
> www.1-large-world.com/images/xtest.jpg
> I can't for the life of me figure out why that little _ character shows

up
> just after the image.


It's part of the hyperlink which your image has to enlarge to a new
photograph.

Check yout HTML. You'll probably find a space before the closing </a> of
your link from the thumbnail image. Make sure the <br> for the caption
comes right after the </a>.

You know it's part of the link because if you click on the underscore
you'll get your enlarged image.

Steve.


 
Reply With Quote
 
Steve R.
Guest
Posts: n/a
 
      01-04-2004
Richard wrote in message ...
> www.1-large-world.com/images/xtest.jpg
> I can't for the life of me figure out why that little _ character shows
> up just after the image.


It's part of the hyperlink which your image has to enlarge to a new
photograph.

Check yout HTML. You'll probably find a space before the closing </a> of
your link from the thumbnail image. Make sure the <br> for the caption
comes right after the </a>.

You know it's part of the link because if you click on the underscore
you'll get your enlarged image.

Steve.


 
Reply With Quote
 
Michael Fesser
Guest
Posts: n/a
 
      01-04-2004
Richard wrote:

>www.1-large-world.com/images/xtest.jpg
>
>Compare the image on the left to the one on the right.
>I can't for the life of me figure out why that little _ character shows up
>just after the image.
>Other than the possibility of the </a> tag being on a seperate line.


Every text - this includes white space - inside an a-element is
underlined by default. What you see is an underlined line break.

>If I put the </a> tag on the same line, the character goes away, but then
>the text appears immediately after the image, so I have to put in a <br>.
>This happens in both IE and mozilla.


Put a blank between the link and the text:

<a href=...><img ...></a> 1928 Giza Egypt
^
>Just curious to know why this is.
>
>This never happened before tonight.


Might be the moon, it's nearly full.

Micha
 
Reply With Quote
 
John McGaw
Guest
Posts: n/a
 
      01-04-2004
"Richard" <anonymous@127.000> wrote in message
news:(E-Mail Removed)...
> www.1-large-world.com/images/xtest.jpg
>
> Compare the image on the left to the one on the right.
> I can't for the life of me figure out why that little _ character shows up
> just after the image.
> Other than the possibility of the </a> tag being on a seperate line.
> If I put the </a> tag on the same line, the character goes away, but then
> the text appears immediately after the image, so I have to put in a <br>.
> This happens in both IE and mozilla.
>
> Just curious to know why this is.
>
> This never happened before tonight.
> The only other thing I did tonight was install one program.
> Could this have screwed up a shared file perhaps?
>

Every time I've seen it happen on my pages it has been a matter of a space
or line break showing up between a linked image and the following content.
This happens semi-randomly since I usually format my source with Tidy after
every minor change.
--
John McGaw
[Knoxville, TN, USA]

Return address will not work. Please
reply in group or through my website:
http://johnmcgaw.com

 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      01-04-2004
Than you all.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless puzzler...NIC will send, *not* receive intrepid_dw@hotmail.com Wireless Networking 5 06-14-2006 03:39 PM
WEP connection puzzler gromit12@gmail.com Wireless Networking 3 04-18-2006 11:28 PM
Tkinter Puzzler Tim Daneliuk Python 4 01-07-2005 11:28 AM
dropdown puzzler Jim Corey ASP .Net 1 01-16-2004 03:25 AM
xsd puzzler Anon XML 3 10-27-2003 12:31 PM



Advertisments