Page 1 of 1

Freeway Pro and WebYep - Center Images Horizontally in Cycle

Posted: Sun Apr 29, 2012 9:45 pm
by kipshaw
Hi -

Using the method described on this page:

http://www.obdev.at/products/webyep/exa ... -loop.html

I've successfully integrated a slideshow using WebYep and the Cycle plugin on this page:

http://earlblackart.com/index.php

The only way I was able (so far) to center the images is to make them the same width with by adding extra space left/right in the actual image file.

Because I want clients to be able to add images on their own, and they might not know how to build images with extra space on each side, I'm trying to figure out how to write the css so the images will center in the slideshow div. I thought text-align: center would work, but it doesn't seem to. Neither does margin: auto.

Any help would be greatly appreciated.

Thanks!

Kip Shaw