您好所有我有这个剧本,我想,这个形象是一条线,而不是刹车等线,但我的代码不能正常工作,请帮助我 HTML显示内嵌不是为我工作
<div class="history_slider">
<img src="img/pic/red-bull.jpg"/>
<img src="img/pic/red-bull.jpg"/>
<img src="img/pic/red-bull.jpg"/>
<img src="img/pic/red-bull.jpg"/>
</div>
CSS
.history_slider{
position:relative;
width:900px;
height:500px;
outline:1px solid #d6d7db;
overflow:scroll;
}
.history_slider img{
width:700px;
height:100%;
margin-left:125px;
margin-right:125px;
display:inline;
white-space: nowrap;
}
我想这样
我看不到任何脚本。只需HTML标记和CSS样式。 – melancia 2014-08-31 19:56:33
不超过'margin-left:125px;'.'.history_slider { position:relative; width:900px; height:180px; \t提纲:1px solid#d6d7db; overflow-x:scroll; \t overflow-y:hidden; } .history_slider img { width:100px; height:100px; margin:25px; display:inline; }' – AvrilAlejandro 2014-08-31 19:58:52