兼容各个浏览器的纯CSS圆角代码
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
.spiffy{
display:block;
}
.spiffy *{
display:block;
height:1px;
overflow:hidden;
background:#0a67e6;
}
.spiffy1{
border-right:1px solid #95bdf4;
padding-right:1px;
margin-right:3px;
border-left:1px solid #95bdf4;
padding-left:1px;
margin-left:3px;
background:#478dec;
}
.spiffy2{
border-right:1px solid #e6effc;
border-left:1px solid #e6effc;
padding:0px 1px;
background:#3883ea;
margin:0px 1px;
}
.spiffy3{
border-right:1px solid #3883ea;
border-left:1px solid #3883ea;
margin:0px 1px;
html网页边框代码}
.spiffy4{
border-right:1px solid #95bdf4;
border-left:1px solid #95bdf4;
}
.spiffy5{
border-right:1px solid #478dec;
border-left:1px solid #478dec;
}
.spiffy_content{
padding:0px 5px;
background:#0a67e6;
color:#fff;
}
</style>
</head>
<body>
<div>
<b class="spiffy">
<b class="spiffy1"><b></b></b>
<b class="spiffy2"><b></b></b>
<b class="spiffy3"></b>
<b class="spiffy4"></b>
<b class="spiffy5"></b>
</b> <div class="spiffy_content">
简洁设计网是个好<br />
网站简洁设计网是个好网<br />
站简洁设计<br />
网是个好网站简洁设计网是个<br />
好网站简洁设计网<br />
是个好网站简洁设计网是个好网站简洁<a class="channel_keylink" href="<a href="so.ji
anjie8/?keyword=" target="_blank" rel="external">so.jianjie8/?keyword=</a>设计" target="_blank"><a class="channel_keylink" href="<a href="www.baidu/s?tn=designba" target="_blank" rel="external">www.baidu/s?tn=designba</a>&bs=%D4%AA%B5%A9&f=8&wd=设计+site%3Ajianjie8" target="_blank">设计</a></a>网是个好<a class="channel_keylink" href="<a href="so.jianjie8/?keyword=" target="_blank" rel="external">so.jianjie8/?keyword=</a>网站" target="_blank"><a class="channel_keylink" href="<a href="www.baidu/s?tn=designba" target="_blank" rel="external">www.baidu/s?tn=designba</a>&bs=%D4%AA%B5%A9&f=8&wd=网站+site%3Ajianjie8" target="_blank">网站</a></a>
</div>
<b class="spiffy">
<b class="spiffy5"></b>
<b class="spiffy4"></b>
<b class="spiffy3"></b>
<b class="spiffy2"><b></b></b>
<b class="spiffy1"><b></b></b>
</b>
</div>
</body>
</html>
无图片圆角效果
css圆角效果,IE6, firefox均显示正常
<html>
<head>
<title>css圆角效果--七度空间网页教学网</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<style type="text/css">
div.RoundedCorner{background: #9BD1FA}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9BD1FA}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
</style>
</head>
<body>
<div class="RoundedCorner">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<br>无图片实现圆角框<br><br>
<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>
</body>
</html>
CSS圆角(代码比较精练)
2007-05-28 21:16
<html>
<head>
<title>简写CSS圆角</title>
<style type="text/css">
.b1,.b2,.b3,.b4,.b1b,.b2b,.b3b,.b4b,.b{display:block;overflow:hidden;}
.b1,.b2,.b3,.b1b,.b2b,.b3b{height:1px;}
.b2,.b3,.b4,.b2b,.b3b,.b4b,.b{border-left:1px solid #007FBA;border-right:1px solid #007FBA;}
.b1,.b1b{margin:0 5px;background:#007FBA;}
.b2,.b2b{margin:0 3px;border-width:2px;}
.b3,.b3b{margin:0 2px;}
.b4,.b4b{height:2px;margin:0 1px;}
.d1{background:#041D30;}
</style>
</head>
<body bgcolor="#000000">
<div>
<b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
<div class="b d1">
<font >简写CSS圆角</font>
</div>
<b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
</div>
</body>
</html>
2种css圆角代码
html xmlns:v> 
<head> 
<style> 
v:* {behavior: url(#default#VML);} 
</style> 
</head> 
<body> 
<v:RoundRect FillColor="#FFF9DE"> 
<v:shadow on="T" type="single" color="#b3b3b3" offset="5px,5px"/> 
<v:textbox >css实现真正的圆角表格</v:textbox> 
</v:RoundRect> 
</body> 
</html>
<html>
<head>
<title>css圆角效果</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<style type="text/css">
div.RoundedCorner{background: #9BD1FA}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9BD1FA}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px;height: 2px}
</style>
</head>
<body>

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。