CSS 边框半径不适用于导航包装器。任何想法为什么?
代码:
HTML:
<div class="navigation">
<div><a href="">Home</a></div>
<div><a href="">Products</a></div>
<div><a href="">Services</a></div>
<div><a href="">Support</a></div>
<div><a href="">Contact</a></div>
</div>
<div style="clear:both;"></div>
CSS:
.navigation {
position:relative;
float:left;
overflow:auto;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.navigation div {
position:relative;
float:left;
background: #484745;
height:53px;
line-height: 53px;
}