I have a content slider which spans the full length of the screen. I have set its width as 100%. The problem is that the images inside the content div are getting repeated. The size of images are 600*300. The page should be compatible to all the screen resolutions. How can I solve this?
Css Codes
#slider, #slider div.sliderInner {
width:100%;height:250px;/* Must be the same size as the slider images */}
#slider {
background:black url(loading.gif) no-repeat 50% 50%;
position:relative;
margin:0 auto; /*center-aligned*/
transform: translate3d(0,0,0);}
Html Codes
<div id="slider">
<img src="images/image-slider-1.jpg" alt="" />
<img src="images/image-slider-2.jpg" alt="" />
<img src="images/image-slider-3.jpg" alt="" />
<img src="images/image-slider-4.jpg" alt="" />
<img src="images/image-slider-5.jpg" alt="" />
</div>