<!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/htmlcharset=utf-8" />
<link rel="stylesheet" type="text/css" href="CSS-kuaidu.css"/>
<title>宽度的学习</title>
</head>
<body>
<div style="width:960pxheight:700pxmargin:0 autoborder:solid 1px #999999" >
<div style="width:960pxheight:25pxborder:solid 1px #CCCCCC">
导航条
</div>
<div style="width:960pxheight:80pxborder:solid 1px #CCCCCC">
店铺图片
</div>
<div style="width:200pxheight:400pxborder:solid 1px #CCCCCCfloat:left">
左侧目录
</div>
<div style="width:750pxheight:400pxborder:solid 1px #CCCCCCfloat:right">
右侧内容
</div>
<div style="width:960pxheight:17pxborder:solid 1px #CCCCCCfloat:left">
尾区
</div>
<div style="width:960pxheight:173px border:solid 1px #CCCCCCfloat:left">
尾招
</div>
</div>
</body>
</html>
可以用dl dt dd来做表格<dl>
<dt></dt>
<dd></dd>
</dl>
dt设定宽高左浮动,dd设定相同的高度右浮动,如果要加padding什么的,dt和dd也必须要一样