CSS撑暴问题.....
.navigation a {
color: #FFF;
float: left;
font: bold 1.2em "宋体",sans-serif;
margin-top: 56px;
padding: 8px 18px;
text-align: center;
text-decoration: none;
}
.navigation a:hover {
background-color: #4A91C3;
color: #FFF;
}
<div class="navigation">
<a href="index.html">Suspendisse</a>
<a href="index.html">Elemen</a>
<a href="index.html">Maecenas</a>
<a href="index.html">Sodales</a>
<div class="clearer"><span></span></div>
</div>
中<a href="index.html">Suspendisse</a>
<a href="index.html">Elemen</a>
<a href="index.html">Maecenas</a>
<a href="index.html">Sodales</a>
几个英文一旦换成中文,超过2个字符(1个中文字),就撑暴,怎么修改下等宽,或者自动.........
|