The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Why are my pictures stretching? Re: Why are my pictures stretching?


Some of your pictures are bigger then
div class=”AnythingSlider …. style=”width: 960px; height: 540px;”

As I can see picture inside it have
img src=”/images/fe-images/newborn/2.jpg” style=”width: 100%; height: 100%;”

Original size of image is
1072 × 712

If You change width of this picture from 1072 to 960, height well be 638. Not 540.

You need do some with pictures. Prepare all pictures in one size which well be 960px; height: 540px;
or remove height: 100%; in img Tags