请查看以下不同浏览器的链接。
http://www.bayaneqalam.com
底部徽标滑块位于Chrome和IE页面的中心。但是它位于Firefox中。这是什么问题?
我在此滑块上使用了 caroufredsel 。
您是否检查了火器上的施加样式?在.caroufredsel_wrapper
元素中添加了一些内联样式,在某些情况下没有任何意义。
顺便说一句,样式中没有margin: 0 auto;
CSS声明。这是我从火器中得到的:
element.style {
bottom: auto;
display: block;
float: none;
height: 100px;
left: auto;
margin: 0; /* <-- the margins of all 4 aspects have been set to 0 */
overflow: hidden;
position: relative;
right: auto;
text-align: center;
top: auto;
width: 740px;
z-index: auto;
}
imo,您可以在CSS文件中某个地方的元素上应用margin
,并确保其覆盖内联样式,如下:
.caroufredsel_wrapper {
margin: 0 auto !important;
}