درود بر شما
و راه اندازی این فرم رو تبریک ارض می کنم (ببخشید که دسته خالی اومدم ایشالا با یه مقاله توپ)
سوالی داشتم خدمتتون که:
ما 3 باکس داریم، می خواهم باکس وسط طوری طراحی بشه که در صورتی که باکس چپ را حذف کردیم، جای آن را پر کند.
پیشاپیش از راهنمایی شما سپاسگزارم
code :
<!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" />
<style type="text/css">
#wrp, #left, #center, #right {
padding:0; margin:0; border:0;
}
#wrp {
width:600px; background:red;
}
#left, #center, #right {
float:left;
}
#left {
background:green; width:100px;
}
#center {
background:fuchsia; width:400px;
}
#right {
background:blue; width:100px;
}
</style>
</head>
<body>
<div id="wrp">
<div id="left">
<p>echess</p><p>echess</p><p>echess</p><p>echess</p><p>echess</p>
</div>
<div id="center">
<p>echess</p><p>echess</p><p>echess</p><p>echess</p><p>echess</p>
</div>
<div id="right">
<p>echess</p><p>echess</p><p>echess</p><p>echess</p><p>echess</p>
</div>
</div>
</body>
</html>