Here is the code relevant to my question: http://jsfiddle.net/mkerny45/V23NK/
As you can see there are a long horizontal chain of image slides. I would like it so that one of the slides is always at the center of the user’s page both when the page initially loads and when the user resizes their browser.
This site illustrates the functionality I am interested in: http://www.freundevonfreunden.com/
I think the best way to do this is to use
position: absoluteorpadding-lefton the container of your slides and calculate the left position in pixels withbrowser_width - image_width / 2.Here is an exemple of code :