PDA

View Full Version : Text and Image Crawler v1.5 - gaps between each image



loislb
02-24-2012, 05:49 PM
Text and Image Crawler v1.5

I figured out how to get rid of gaps between full loops of the image crawler but there are individual gaps between each image i place in my div. I don't have padding or margins added to them.
I really don't know much about code but I tried to look at it anyway and see if I could find what was creating the gap. Please help me :) Thanks in advance! :o

Lois

jscheuer1
02-24-2012, 09:02 PM
The script itself doesn't cause that. I'd have to see the page though to know why it's happening on that page. But first make sure that there are no gaps between the images in the HTML code. This means no spaces, and sometimes even no line breaks. Like:


<img src="whatever"><img src="something">

Not:


<img src="whatever"> <img src="something">

And not:


<img src="whatever">
<img src="something">

And of course the images cannot have any borders, padding or margin set in css. If they're linked images, you must specifically set their border-width to 0 in css.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.

loislb
02-26-2012, 05:37 AM
I found out that I could fix the problem by aligning all the images to the left. Somehow specifying an alignment fixed the issue. Thanks for the help!;)