Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近安装了很酷的bxslider插件。 但是由于某种原因,图片没有在中间对齐,当我把它放在 iframe 中时它会泄漏出来。
bxslider
这里看看:我的网站
如何修复?
我也遇到过这种问题。你至少需要给第一width张图片。height
width
height
<img src="images/img1.jpg" style="width:940px; height: 294px;" />
编辑
将您的样式更改为此,我认为在您的情况下应该足够了:
ul.bxslider { margin: 0 auto; padding: 0; }