圆角DIV

基于CSS+HTML的实现

<style type="text/css">

div.roundedcorner{background: #3a6ea5; width: 200px; color:white}
b.r   {display:block;background: #fff}
b.r b {display:block;height: 1px;overflow: hidden; background: #3a6ea5}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.r b.r4{margin: 0 1px;height: 2px}
</style>

<div class="roundedcorner">
   <b class="r"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
   <div style="padding-left:14px;">
       Your web, your choise
   </div>
   <b class="r"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

posted on 2009-04-15 10:54  Love2009  阅读(698)  评论(0编辑  收藏  举报

导航