تفضل :nice: , بإستعمال الـ Div
كود HTML:
<!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" dir="rtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 4</title>
<style type="text/css">
body {
padding: 5px;
margin: 0px;
font-family: Tahoma;
font-size: 10pt;
}
#sidebar {
position: absolute;
right: auto;
width: 257px;
left: 0px;
border: 1px dashed #333333;
background-color: #E5E5E5;
}
#content {
padding: 3px;
margin-left: 260px;
width: auto;
border: 1px dashed #333333;
min-height: 800px;
}
#content_right {
float: right;
width: 50%;
background-color: #E5E5E5;
}
#content_left {
float: left;
width: 50%;
background-color: #C0C0C0;
}
#content_nav {
text-align: center;
}
</style>
</head>
<body>
<div id="sidebar">
Sidebar </div>
<div id="content">
<div id="content_nav">
Container !</div>
<div id="content_right">
العمود الأيمن</div>
<div id="content_left">
العمود الأيسر</div>
</div>
</body>
</html>
وهذا بإستعمال الجداول (Tables)
كود HTML:
<!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" dir="rtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 5</title>
</head>
<body>
<table style="width: 100%">
<tr>
<td id="Content">
<table style="width: 100%">
<tr>
<td id="Container" align="center">Container</td>
</tr>
<tr>
<td>
<table style="width: 100%">
<tr>
<td id="Container_right" width="50%">R</td>
<td id="Container_left" width="50%">L</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td id="SideBar" valign="top" width="250px">this is Sidebar</td>
</tr>
</table>
</body>
</html>
ولكن أنصحك بإستخدام DIV عشان تختزل حجم الصفحه
أخوك NLP