日期:2014-05-17 浏览次数:20707 次
.lavaLampWithImage { position: relative; width: 930px; background: url("../img/bgTitle.png") no-repeat top; padding: 35px; margin: 0px 0; overflow: hidden; } .lavaLampWithImage li { float: left; list-style: none; } .lavaLampWithImage li.back { background: url("../img/lava.gif") no-repeat right -30px; top: 2px; width: 9px; height: 30px; z-index: 8; position: absolute; } .lavaLampWithImage li.back .left { background: url("../img/lava.gif") no-repeat top left; height: 30px; margin-right: 9px; /* 7px is the width of the rounded shape */ } .lavaLampWithImage li a { font: bold 14px arial; text-decoration: none; color: #fff; outline: none; text-align: center; top: -28px; text-transform: uppercase; letter-spacing: 0; z-index: 10; display: block; float: left; height: 30px; position: relative; overflow: hidden; margin: auto 12px; } .lavaLampWithImage li a:hover, .lavaLampWithImage li a:active, .lavaLampWithImage li a:visited { border: none; }