We really would need a link to your page to know for sure what the problem is:
Please post a link to the page on your site that contains the problematic script so we can check it out.
However, things I would check are, here:
Code:
leftrightslide[0]='<a href="http://"><img src="Ulitaar.jpg" border=1></a>'
leftrightslide[1]='<a href="http://"><img src="Sriab.jpg" border=1></a>'
leftrightslide[2]='<a href="http://"><img src="Vaelos.jpg" border=1></a>'
Make sure the borders are set to 0 in your version of the above and that there are no spaces or other characters or elements in the mix in the array there. Also make sure there are no margins, padding or borders applied to the images via style anywhere on or linked to your page.
I don't want to repeat what ddadmin posted except to say that he is right about that part, make sure those settings are as he recommends. Using a negative value (-5) for the gap as you have it in your example code could have unexpected results.
Since you say that there is no gap between the beginning and end, this probably is not a concern but, make sure there are no physical borders on the images themselves when viewed in a image viewer or image program.
Bookmarks