首页 > web前端 > css教程 > 正文

css圆角,有titlebar

高洛峰
发布: 2016-11-24 10:04:48
原创
1586人浏览过

java代码 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns:v xmlns="http://www.w3.org/1999/xhtml">   
<head>   
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
    <title></title>  
<style type="text/css"> 
.div1{ 
    margin:0 4px;  
    background:#28598f;  
    height:1px;  
    overflow:hidden; 
} 
.div2{ 
    margin:0 2px;  
    border:2px solid #28598f;  
    border-width:0 2px;  
    background:#9fc8db;  
    height:1px;  
    overflow:hidden; 
} 
.div3{ 
    margin:0 1px;  
    border:2px solid #28598f;  
    border-width:0 1px;  
    background:#9fc8db;  
    height:1px;  
    overflow:hidden; 
} 
.div4{ 
    margin:0 1px;  
    border:2px solid #28598f;  
    border-width:0 1px;  
    background:#9fc8db;  
    height:1px;  
    overflow:hidden; 
} 
.div5{ 
    background:#9fb2be;  
    border:1px solid #1e5288;  
    border-width:0 1px; 
} 
.div6{ 
    font-size:12px;  
    font-weight:bolder;  
    font-family:Verdana;  
    FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#9fc8db,endColorStr=#28598f);  
    padding:2px 10px 5px; 
} 
.div7{ 
    FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#f2f5f6,endColorStr=#dbe5e8);  
    margin:0 3px;  
    font-size:11px;  
    font-family:Verdana;   
    padding:5px 5px;  
    overflow:hidden; 
} 
.div8{ 
    background:#9fb2be; height:1px; overflow:hidden; 
} 
</style>   
 
</head>   
<body > 
<div style="position:absolute; width:100%; height:100%; top: 4px;"> 
    <div style="position:absolute; left:3px; top:3px; width:20%; height:30%;"> 
        <div class="div1"></div> 
        <div class="div2"></div> 
        <div class="div3"></div> 
        <div class="div4"></div> 
        <div class="div5"> 
            <div class="div6"> 
                用户信息 
            </div> 
            <div class="div7"> 
                <table style="width:100%;height:150px;"> 
                    <tr><td height="106">123</td></tr> 
                </table> 
            </div> 
        </div> 
        <div class="div8"></div> 
    </div> 
</div> 
</body>   
</html>
登录后复制
最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
相关标签:
css
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号