PDA

View Full Version : Centering different size images in Ultimate Fade In Slideshow



nansaidh
09-25-2010, 07:40 PM
1) Script Title: Ultimate Fade-in slideshow (v2.4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: An example of my issue is on this page:

http://www.kcbeaton.com/lndscp-slideshow.html

I'm using images of different sizes and per the script instructions have specified the largest image size in the html. That's fine. But I need the images that are smaller to be centered in the slideshow and can't seem to figure that out.

I would be ecstatically grateful if someone could help me with this!
Thank you so much,
Nancy

azoomer
09-25-2010, 09:02 PM
in this part of the css


.fadeshow4 {
text-align: center;
width: 825px;
height: 410px;
margin: auto!important;
}

Change text-align to left instead of center. That will center the images (for some reason that I can't explain

If you want the description to be centered you can make a new css rule like this


.fadeslidedescdiv {
text-align: center;
}

nansaidh
09-25-2010, 11:14 PM
Thank you sooooo much! :) Woo Hoo! :D

Nancy