Freeway Pro and WebYep - Center Images Horizontally in Cycle

General discussions about WebYep
Post Reply
kipshaw
Posts: 5
Joined: Mon Apr 02, 2012 4:31 pm

Freeway Pro and WebYep - Center Images Horizontally in Cycle

Post by kipshaw » Sun Apr 29, 2012 9:45 pm

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

Post Reply