.i2_text{ MARGIN: 0px auto; width:1130px; margin-top:10px; background-color:#006699}
.i2_text li{
float:left;
margin-bottom:15px;
.i2_text{ MARGIN: 0px auto; width:1130px; margin-top:10px; background-color:#006699}
.i2_text li{
float:left;
margin-bottom:15px;
background: url(../images/limit-04.png) no-repeat 30px center;
靠右显示
background:url(images/jx.jpg) no-repeat right top;
div默认是display:block的。block就是块状的意思,也就是相当于div前后各加一个换行的效果,于是这个div就独占一行了。所以你可以为div指定样式display:inline,这样就不会独占一行。另外扩展一下,span和div的主要区别之一正是span默认不是独占一行而div默认是独占一行。
.trans-rotate{
-webkit-transition: transform .25s linear;
-moz-transition: transform .25s linear;
-o-transition: transform .25s linear;
transition: transform .25s linear;