Closed (duplicate)
Project:
Views Slideshow
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2009 at 00:10 UTC
Updated:
30 Jan 2010 at 12:19 UTC
Jump to comment: Most recent
Comments
Comment #1
jackhutton commentedyou can see it in use here: left aligned images look funky..
thx
http://wk.walterkuhlmanart.com/kuhlman-studio-photos/17
Comment #2
jackhutton commentedwhen i work the css in firebug, i can add margin-left: auto and margin-right:auto to the inline css & the image centers nicely.. I tried to add that to the .js but must have the wrong syntax.. how would i indicate that in javascript? thxl..
Comment #3
jackhutton commentedtried var first=opts.startingSlide;$slides.css({position:"absolute",top:0,marginLeft:'auto',marginRight:'auto'}) but that doesn't work either.. grrr.
would there be code to figure out the width of the image on the fly, then divide by half subtract that from the container width to assign to the left: x position?
Comment #4
Anonymous (not verified) commentedDuplicate of #572714: Centering Slideshow not possible anymore