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)
There is code:
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!
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".