jCarousel Lite - center images horizontally and vertically

Posted by carillonator on Stack Overflow See other posts from Stack Overflow or by carillonator
Published on 2010-04-19T03:17:20Z Indexed on 2010/04/19 3:23 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

I have jCarousel Lite going in Drupal with images of various sizes/aspect ratios. I'm not having much luck trying to center the images vertically and horizontally (i.e. evenly-spaced). The plugin requires that the images be in a <ul><li><img ... /></li></ul>. I've tried display:inline-block, marginTop:50% among other things, most of which just screw up the carousel.

The carousel is posted at: http://carillontech.org/drupal/

thanks!!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jcarousellite