HighDots Forums  

Question regarding IMG attribute 'hspace'

alt.discuss.html alt.discuss.html


Discuss Question regarding IMG attribute 'hspace' in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
B&A Hehmann
 
Posts: n/a

Default Question regarding IMG attribute 'hspace' - 05-16-2004 , 09:06 PM






Hi all.

How can I place button pictures next to each other without a gap between the
two buttons?
I've tried using HSPACE="0", but there is still a discernable gap between
the two.
Does anyone out there know of a different method?

My attempt: <img src="images/button_1.jpg" border="0" align= "absmiddle"
hspace="0">


Thanks in advance,

Bjoern



Reply With Quote
  #2  
Old   
Arthur Buse
 
Posts: n/a

Default Re: Question regarding IMG attribute 'hspace' - 05-31-2004 , 07:28 PM






On Sun, 16 May 2004 21:06:38 -0400, "B&A Hehmann"
<hehmannba (AT) adelphia (DOT) net> wrote:

Quote:
Hi all.

How can I place button pictures next to each other without a gap between the
two buttons?
I've tried using HSPACE="0", but there is still a discernable gap between
the two.
Does anyone out there know of a different method?

My attempt: <img src="images/button_1.jpg" border="0" align= "absmiddle"
hspace="0"
A newline in the source at the end of the tag causes a gap. That is:

<img src="images/button_1.jpg">
<img src="images/button_2.jpg">

will cause a gap, but

<img src="images/button_1.jpg"><img
src="images/button_2.jpg">

will not. Note that the newline in the first example is between the
two tags, but the newline in the second is within the second tag.
Strange but true.

--
Arthur.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.