旋转木马做出来了,怎么居中啊,试了好多方法,没法居中。
问题自行解决了,谢谢大家
<div class="J_Poster poster-main" data-setting='{
"width":800,
"height":270,
"posterWidth":640,
"posterHeight":270,
"scale":0.8,
"autoPlay":true,
"delay":5000,
"speed":300,
"vericalAlign":"top"
}'>
<div class="poster-btn poster-prev-btn"></div>
<ul class="poster-list">
<li class="poster-item"><a href="#"><img src="images/1.jpg" width="100%" height="100%"></a></li>
<li class="poster-item"><a href="#"><img src="images/2.jpg" width="100%" height="100%"></a></li>
<li class="poster-item"><a href="#"><img src="images/3.jpg" width="100%" height="100%"></a></li>
<li class="poster-item"><a href="#"><img src="images/4.jpg" width="100%" height="100%"></a></li>
</ul>
<div class="poster-btn poster-next-btn"></div>
</div>
贴代码啊亲。