tsonade
شنبه 11 آذر 1391, 15:30 عصر
سلام
من تازه کار هستم
می خوام یک index طراحی کنم
از این کد های html استفاده کردم
دقت کنید نمی خوام از css استفاده کنم
اما 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>طراحي معماري</title>
</head>
<body>
<div id="main" style=" width:719px; height:800px; direction:rtl; background-color:#999; margin:auto;">
<div id="header" style=" padding-top:5px;">
<img src="civil-engineering-logo.jpg" width="100%" height="150" />
</div>
<div class="sid" style=" width:200px; height:200px; background-color:#CCC; border: solid 1px #666666; margin-left:2px; margin-top:3px; p;">
</div>
<div class="news" style="width:200px; ">
خبر تستي
</div>
</div>
</body>
</html>
من تازه کار هستم
می خوام یک index طراحی کنم
از این کد های html استفاده کردم
دقت کنید نمی خوام از css استفاده کنم
اما 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>طراحي معماري</title>
</head>
<body>
<div id="main" style=" width:719px; height:800px; direction:rtl; background-color:#999; margin:auto;">
<div id="header" style=" padding-top:5px;">
<img src="civil-engineering-logo.jpg" width="100%" height="150" />
</div>
<div class="sid" style=" width:200px; height:200px; background-color:#CCC; border: solid 1px #666666; margin-left:2px; margin-top:3px; p;">
</div>
<div class="news" style="width:200px; ">
خبر تستي
</div>
</div>
</body>
</html>