好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

HTML的DIV+CSS基础排版方式_html/css_WEB-ITnose

把分割线之后的代码复制到dreamweaver新建一个html文件,在“代码”视图保存,预览可见效果,注意CSS的设置

-----------------------------------我是超级分割线-----------------------------------

代码:





无标题文档

#header {
background-color: #00FFFF;
height: 120px;
width: 800px;
margin-right: auto;
margin-left: auto;
}
#body {
width: 800px;
margin-right: auto;
margin-left: auto;
}
#body #right {
background-color: #0033FF;
float: right;
height: 400px;
width: 500px;
}
#body #left {
background-color: #CC9966;
float: left;
height: 400px;
width: 300px;
}

#footer {
background-color: #00CCFF;
height: 80px;
width: 800px;
margin-right: auto;
margin-left: auto;
clear: both;
}
-->


查看更多关于HTML的DIV+CSS基础排版方式_html/css_WEB-ITnose的详细内容...

  阅读:33次