.slider ul, #slider li{ margin:0; padding:0; list-style:none; } .slider, #slider li{ width:602px; height:418px; overflow:hidden; } span#prevBtn{} span#nextBtn{}