Heim > Web-Frontend > CSS-Tutorial > Hauptteil

CSS abgerundete Ecken, Titelleiste

高洛峰
Freigeben: 2016-11-24 10:04:48
Original
1362 Leute haben es durchsucht

Java-Code

<!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 style=""> 
<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>
Nach dem Login kopieren


Verwandte Etiketten:
css
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!