我寫了一個CSS爲foolows:圓角通過CSS
<style>
#box_1 #box1_bg{
width: 100px;
padding-left:0px;
font-family: "cachet Bold" , "CachetBoldRegular";
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
font-size: 21px;
text-align:center;
padding-top:10px;
height:30px;
border-bottom-style:groove;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
}
</style>
這是給我的狀結構一個箱.. 我怎樣才能獲得圓角這個盒子?
我不明白你的問題,你想這個元素的角落舍入? – Kyle 2011-04-11 12:30:46
我假設你在Firefox或Webkit瀏覽器上測試?你有沒有嘗試border-bottom-right-radius:10px;? – Tarscher 2011-04-11 12:30:49
看看http://www.css3pie.com/ - 這對IE來說是一個黑客,它支持'border-radius'(以及更多)。 – Spudley 2011-04-11 12:49:39