CSS3 圆角边框-使用border-radius: 创建圆角
推荐一款优秀的WEB前端导航-小码农前端导航http://xmn-xdm.com/
<!DOCTYPE html>
<html>
<head>
<style>
.btna{
text-align:center;
border:2px solid #a1a1a1;
padding:10px 40px;
background:#2a98ff;
width:350px;
border-radius:25px;/* 设置圆角 */
-moz-border-radius:25px; /* 老的 Firefox */
}
</style>
</head>
<body>
<a class="btna">border-radius 属性允许您向元素添加圆角。</a>
</body>
</html>