中心我有一個導航欄:導航欄的div關閉的邊境
HTML:
<div id="navbar">
</div>
CSS:
#navbar{
width: 100%;
height: 50px;
background-color: #F0F0F0;
border-color: #B2B2B2;
border-style: solid;
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
}
出於某種原因,邊界使得偏心,總是有一些空格在div的左邊,但不在右邊。我該如何解決這個問題?
做保證金:汽車;有幫助嗎? – 2013-03-14 19:04:16
http://www.w3.org/TR/CSS2/box.html – j08691 2013-03-14 19:09:14