我对这个网站有疑问:http ://www.lookcommunication.it/testalessio/site7/index.html
我想显示带有徽标的白色方块,而不是滑块
html
<div id="box_logo">
<img src="img/logo.png" alt="logo"/>
</div>
#box_logo{width:251px; height:251px; background-color:#fff;float: left;
position: relative;left: 71px;top: -45px;z-index: -2;text-align: center; border-radius: 5px;}
滑块代码:
<div class="flexslider">
<ul class="slides">
<li>
<img src="images/slider1.jpg" />
</li>
<li>
<img src="images/slider2.jpg" />
</li>
<li>
<img src="images/slider3.jpg" />
</li>
</ul>
</div>
css
.flexslider{
margin: 180px 0 60px;
background: #fff;
border: 4px solid #fff;
position: relative;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
box-shadow: 0 1px 4px rgba(0,0,0,.2);
zoom: 1;
}
我试图放入z-index:-9999
,.flexslider
但它不起作用。
建议?