上一篇:2009年度全球50个最佳网站(ZT)
下一篇:PHP判断浏览器类型
在网页上画圆角矩形
米娅 2009年9月5日 00:48:58

按: 在网上找了段代码,  作了点改动. 

<html>
  <head>
    <style type="text/css">
    u.corner u
    {
        height: 1px;
        font-size:1px;
        display: block;
        overflow: hidden;
        text-decoration: none;
        background-color: #E0E9EB;
    }
    u.corner u.h1{margin: 0 5px; background-color:#9A9A9A; }
    u.corner u.h2{margin: 0 3px; background-color:#EBEBEB;}
    u.corner u.h3{margin: 0 2px; }
    u.corner u.h4{margin: 0 1px; height: 2px;  }
    </style>
  <head>
  <body>
    <div style="position: absolute; width: 90%; left:5%; top:50px; margin-bottom:10px">
    <u class="corner">
    <u class="h1"></u>
    <u class="h2"></u>
    <u class="h3"></u>
    <u class="h4"></u>
    </u>
    <div style="background-color: #E0E9EB; height: 300px;">content</div>
    <u class="corner">
    <u class="h4"></u>
    <u class="h3"></u>
    <u class="h2"></u>
    <u class="h1"></u>
    </u>
 <br>
    </div>
  </body>
</html>
 



2楼 2009年9月5日 00:50:42 米娅
 效果见http://www.coolder.com/register.php 
第1页 共1页
相关链接
1. 人人都会画画(图)
2. 去图书馆把hold的绘画入门书取回来了
3. 《蒙娜丽莎的微笑》著名因为是第一次画像上人是笑的(和老美聊天)
4. 王羲之行楷《姨母贴》
5. 圣诞老公公“杯具”了(动画)
6. 老美网友画作:Wet Day in China
7. 超可爱熊仔舞,献给本网站的读者们(动画)
8. 获柏林短片奖的中国动画短片《打,打个大西瓜》(youku视频)
9. 美国网友也喜欢吴冠中的画(和老美聊天)
10. 当名画变成3D,你能看到更多(youku视频)
11. 360 PK QQ 搞笑漫画(图)
12. 呼吁CCTV让国人倾听一下受害人的心声(“李刚门”漫画)
13. "边画边哭"英文怎么说?(和老美聊天)
14. 吴冠中作品《紫藤》,我喜欢这种画,很淡雅
15. 颜文梁的中西结合的名画(图)
16. 转:一套一定让你流泪的黄色漫画!!(图)