<!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>
<style>
body { font-family:Verdana; font-size:14px; margin:0;}
#indexx {margin:0 auto; width:900px;}
#headx { height:100px; background:red; margin-bottom:3px;}
#ok { height:30px; background:#09c; margin-top:3px;}
#content{height:500px; margin-top:5px;}
#left{float:left;width:200px;height:500px;background:#9ff;}
#right{float:right;width:700px;height:500px;}
#ri{height:200px;background:#eeee11;}
#rx{height:300px;background:#FF69B4;}
#foot{height:80px;background:red;}
ul.inventory{ list-style-type: none;}
li{float:left}
</style>
</head>
<body>
<div id="indexx">
<div id="headx"></div>
<div id ="ok"></div>
<div id="content">
<div id="left"><ul class="inventory"><li>访问量</li><li>留言</li><li >更新</li></ul></div>
<div id="right">
<div id="ri"></div>
<div id="rx"></div>
</div>
</div>
<div id="foot"></div>
</div>
</body>
</html>
代码贴出了 我想让字 横向排列上有间距...
GCT1015
相关分类