用CSS+DIV写代码

来源:百度知道 编辑:UC知道 时间:2024/06/18 16:59:38
谁帮我写下CSS+DIV,用CSS+DIV格式写哦。

<!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>
<style type="text/css">
*{
font-size:12px;
}
.clear{font:0px/0px sans-serif;clear:both;display:block;}
#layout{
margin:0 auto;
padding:0;
width:486px;
}
ul{
padding:0;
margin:0;
list-style:none;
}
.table1{
border:1px solid #CCC;
margin-bottom:5px;
}
h1{
display:inline; /*这一行解决IE6双倍margin*/
flo