61,115
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
<div id="wrapper">
<h1>表格标题栏</h1>
<div class="content">
</div>
</div>
</body>
</html>
* { margin:0px; padding:0px;}
.clearit { clear:both;}
li { list-style:none;}
body{
width:989px;
height:748px;
padding:20px 10px 0px 15px;
text-align:center;
background:#fff url(images/mainbg.gif) no-repeat bottom;
font:"宋体",Verdana, Arial, Helvetica, sans-serif;
}
#wrapper{
width:989px;
height:748px;
margin:0 auto;
text-align:center;
}
#wrapper h1 {
width:330px;
height:57px;
text-align:center;
margin:0 auto;
line-height:50px;
background:url(images/titlebg.gif) no-repeat;
font-size:20px;
color:#fff;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
* { margin:0px; padding:0px;}
.clearit { clear:both;}
li { list-style:none;}
body{
height:748px;
text-align:center;
background:#fff url(images/mainbg.gif) no-repeat bottom;
font:"宋体",Verdana, Arial, Helvetica, sans-serif;
}
#wrapper{
width:100%;
min-width:1002px;
height:748px;
}
#wrapper h1 {
width:330px;
height:57px;
text-align:center;
margin:0 auto;
line-height:50px;
background:url(images/titlebg.gif) no-repeat;
font-size:20px;
color:#000;
}
</style>
</head>
<body>
<div id="wrapper">
<div style="width:1002px; margin:0 auto;">
<h1>表格标题栏</h1>
<div class="content">
</div>
</div>
</div>
</body>
</html>