老师给我的指导回复 哦,我不清楚你想要什么样的效果。你看看,下面的代码效果行不行?为了让你看清楚图片之间的间隔,我在图片的周围添加了一个黑色的细边框,如果不想要这个黑色的细边框,是可以删除掉的。 <marquee scrollAmount="5"> <img style="border-width: 1px; margin: 10px; width: 562px; height: 750px;" border="1" src="http://image52.360doc.com/DownloadImg/2012/05/2306/24290959_17.jpg" height="750"> <img style="border-width: 1px; margin: 10px; width: 562px; height: 750px;" border="1" src="http://image52.360doc.com/DownloadImg/2012/05/2306/24290959_29.jpg" height="750"> <img style="border-width: 1px; margin: 10px; width: 562px; height: 750px;" border="1" src="http://image52.360doc.com/DownloadImg/2012/05/2306/24290959_31.jpg" height="750"> <img style="border-width: 1px; margin: 10px; width: 562px; height: 750px;" border="1" src="http://userimage2.360doc.com/12/0522/20/183404_201205222047300580.jpg" height="750"> <img style="border-width: 1px; margin: 10px; width: 562px; height: 750px;" border="1" src="http://image31.360doc.com/DownloadImg/2011/06/2809/13467491_18.jpg" height="750"></marquee> 下面是一个图片标签,如果不想要那个黑色的细边框,把标签中的两个红色的“1”修改为“0”;如果想加大图片之间的距离,把绿色的“10”修改为再大一些的数字,例如:15、20、……如果想缩小图片之间的距离,把绿色的“10”修改为再小一些的数字,例如:5、2、…… <img style="border-width: 1px; margin: 10px; width: 562px; height: 750px;" border="1" src="http://image52.360doc.com/DownloadImg/2012/05/2306/24290959_17.jpg" height="750">
|