HighDots Forums  

Re: Space introduced between images

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Space introduced between images in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Leif K-Brooks
 
Posts: n/a

Default Re: Space introduced between images - 10-13-2004 , 04:31 PM






DM wrote:
Quote:
If I put three images next to each other (each within an anchor tag)
they all line up horizontally as expected with no space between them.
I.e., they're sitting flush up against each other.

However, in my design I need them to be laid out like this:

XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL

(Each letter, "X", "o", and "L" represents a different image.)
http://tw.ecritters.biz/html_examples/threeimages/


Reply With Quote
  #2  
Old   
DM
 
Posts: n/a

Default Re: Space introduced between images - 10-13-2004 , 07:06 PM






Leif K-Brooks wrote:

Quote:
DM wrote:

If I put three images next to each other (each within an anchor tag)
they all line up horizontally as expected with no space between them.
I.e., they're sitting flush up against each other.

However, in my design I need them to be laid out like this:

XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL

(Each letter, "X", "o", and "L" represents a different image.)


http://tw.ecritters.biz/html_examples/threeimages/
Thanks for the reply. I appreciate the help. Your example doesn't include the
anchor tags which were present in my original post, but I was still able to get
it to work following your example.

I'm still not sure why space was being added. Even now, it's still being added
in IE 5 for the PC, but I'm willing to allow that.

dm


Reply With Quote
  #3  
Old   
StarQuake
 
Posts: n/a

Default Re: Space introduced between images - 10-14-2004 , 10:54 AM



DM wrote:
Quote:
Leif K-Brooks wrote:

DM wrote:

If I put three images next to each other (each within an anchor tag)
they all line up horizontally as expected with no space between them.
I.e., they're sitting flush up against each other.

However, in my design I need them to be laid out like this:

XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL

(Each letter, "X", "o", and "L" represents a different image.)



http://tw.ecritters.biz/html_examples/threeimages/


Thanks for the reply. I appreciate the help. Your example doesn't
include the anchor tags which were present in my original post, but I
was still able to get it to work following your example.

I'm still not sure why space was being added. Even now, it's still being
added in IE 5 for the PC, but I'm willing to allow that.

dm
Maybe you should delete the line breaks:

<img src="image1.jpeg" alt="" id="image1"><img src="image2.jpeg"
alt=""><img src="image3.jpeg" alt="">

I know its ugly, but it solve my problem last time.
--
-----------------------------------------
Visit my site! http://solid.bounceme.net
-----------------------------------------


Reply With Quote
  #4  
Old   
Frances Del Rio
 
Posts: n/a

Default Re: Space introduced between images - 10-14-2004 , 12:00 PM





StarQuake wrote:
Quote:
DM wrote:

Leif K-Brooks wrote:

DM wrote:

If I put three images next to each other (each within an anchor tag)
they all line up horizontally as expected with no space between
them. I.e., they're sitting flush up against each other.

However, in my design I need them to be laid out like this:

XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXooooooooo
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL
XXXXXXXXLLLLLLLLL

(Each letter, "X", "o", and "L" represents a different image.)




http://tw.ecritters.biz/html_examples/threeimages/



Thanks for the reply. I appreciate the help. Your example doesn't
include the anchor tags which were present in my original post, but I
was still able to get it to work following your example.

I'm still not sure why space was being added. Even now, it's still
being added in IE 5 for the PC, but I'm willing to allow that.

dm

Maybe you should delete the line breaks:

img src="image1.jpeg" alt="" id="image1"><img src="image2.jpeg"
alt=""><img src="image3.jpeg" alt=""

I know its ugly, but it solve my problem last time.
this is exactly right.. I had the same problem a few weeks ago, and was
tearing up my hair over it, until I realized that putting tags right
next to each other, no line breaks, no spaces, nothing between them,
solves this problem.. hope this helps.. good luck..

Frances



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 - 2008, Jelsoft Enterprises Ltd.