اونوقت باید به جای دادن مقادیر با % باید از اعداد ثابت استفاده کنی.در ضمن باید هر دو div رو داخل یه div دیگه بزاری تا با تغییر اندازه div به پایین نپره.
<!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>d</title>
<style type="text/css">
#profile
{margin:30px 0 0 0;
width:200px;
background-color:#0F0;
float:left;
}
#chat
{margin:30px 0 0 0;
width:800px;
background-color:#000099;
float:left;
}
.content{
width: 1000px;
overflow: auto;
*overflow: visible;
}
</style>
</head>
<body>
<div class="content">
<div id="profile">
div1
</div>
<div id="chat">
div2
</div>
</div>
</body>
</html>




پاسخ با نقل قول