Image fitting the dimensions of a container

What’s the “image sliding pattern”? Only thing I can think of is an animation for sliding…yet there is no CSS animation in your file. There is a JS file for that, which means if it isn’t working, this is now a Javascript section and this thread should be moved over there (or you can create a new thread over there since this is a new problem.)

HI,

You corrupted the rules. Take out the rule I’ve commented out and replace with the original styles:

/*#slider,#slider div.sliderInner  > img { width:700px;height:306px;}*/
#slider, #slider div.sliderInner {
    width:700px;
		height:306px;
}
1 Like

Made the changes and getting the desired output with correct slider pattern…
I will check with more images now and will get back to you if got stuck somewhere…

Thanks alot for the help…