PDA

View Full Version : No Space between first and last image?? - C-Motion Horizontal Continuous



gobuffs10
07-29-2010, 11:58 PM
1) Script Title: C-Motion Horizontal Continuous

2) Script URL (on DD): http://www.dynamicdrive.com/forums/showthread.php?t=3464&page=5

3) Describe problem: The only problem I seem to be encountering is that there is no space between the last image and the first image when the list of images loops. I noticed this was the case in the example of the code as well.

Is there anyway to create the same space as between all the other images?

You can see my page here: http://www.bryanduckworth.com/WPtest

azoomer
07-30-2010, 01:19 AM
Take a look at this post
http://www.dynamicdrive.com/forums/showthread.php?t=42211&highlight=cmotion+space
I turns out that the spaces between the images are because of the markup. I Would think that you could start by getting rid of the spaces like described in the post and after that make the margins with css like this
#motioncontainer a img { margin-left: 2px;}
or something like that. I'm not sure but i guess it would work if you start by getting rid of the differences caused by the markup.

gobuffs10
08-05-2010, 12:33 AM
Ok, so I made the changes to the mark up and the removed the space between all the images.

However, I can't seem to add a space, which is what I initially wanted to accomplish.

Using "margin:" in CSS leads to the last image overlapping the first image when it loops.

Any other ideas?

vwphillips
08-05-2010, 08:49 AM
easiest to use a blank gif to provide the 'space'