I have a slider that contains images that are 1920px wide.
However, if the users screen is narrower that the images they need to be centred and the overflow set to be hidden.
The height of the image should stay the same.
The images should be in HTML as (not CSS background-image property)
I have a slider that contains images that are 1920px wide. However, if the users screen is narrower that the images they need to be centred and the overflow set to be hidden.
There is code: http://jsfiddle.net/zBNUm/
I took the code from this previous discussion, because it's not working: http://css-tricks.com/forums/discussion/18798/1920px-slider-images-centred#Item_9
Thank's for help!