<!DOCTYPE HTML>
<html>
<head>
<title>dl dt dd样式设置</title>
<style type="text/css">
#left0{width:300px;height:auto;padding:15px 10px 5px;}
#left0 input{border-width:1px;border-color:#cccccc #999999 #999999 #cccccc;border-style:solid;height:20px;width:250px;line-height:20px;}
dt,dd{float:left;line-height:40px;height:40;margin:0;padding:0;}
dt{width:50px;}
dd{width:250px;}
</style>
</head>
<body>
<div id="left0">
<dl>
<dt>姓名:</dt><dd><input type="text" value="" /><dd>
<dt>sex:</dt><dd><input type="text" value="" /></dd>
<dt>age:</dt><dd><input type="text" value="" /></dd>
</dl>
</div>
</body>
</html>