我写了一个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