为什么左边层和右边层不在同一行
<!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=utf-8" />
<title>无标题文档</title>
</head>
<style type="text/css">
body{margin:0 ; padding:0}
.main{ width:600px; position: relative}
.main{width:100px;float:left}
.main .left img{ margin-left:20px}
.main .right{ width:458px;padding:20px; float:right; background: #06F; border:1px solid #339; }
.main .right p{ font-size:12px; line-height:24px }
.main span{ position:absolute; right:20px; top:20px; font-size:12px}
</style>
<body>
<div class="main">
<div class="left"><img src="../站点/img.jpg" width="50" height="50"/></div>
<div class="right">
<h6>樱桃小王子</h6>
<p>为什么会这样为什么会这样为什么会这样为什么会这样为什么会这样为什么会这样</p>
<span>10分钟以前</span>
</div>
</div>
</body>
</html>