right列還是不對~請問哪里錯了~
<!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=gb2312" />
<title>無標題文檔</title>
<style type="text/css">
body{margin:0;padding:0}
.left{width:200px;height:500px;background:#666666;position:absolute;left:o;top:o}
.middle{height:500px;background:#9966CC;margin:0 300px 0 200px}
.right{width:300px;height:500px;background:#993366;position:absolute;right:o;top:o}
</style>
</head>
<body>
<div class="left">200px</div>
<div class="middle">具備中央和市公務員主管部門規定的擬任職位所要求的其他資格條件。
招錄職位明確要求具有基層工作經歷的,報考人員必須具備相應的基層工作經歷?;鶎庸ぷ鹘洑v,是指在鄉鎮街道黨政機關、垂直管理系統基層單位、國有企事業單位、村(社區)組織及其他經濟組織、社會組織等工作的經歷。在軍隊團和相當團以下單位工作的經歷,退役士兵在軍隊服現役經歷可視為基層工作經歷。</div>
<div class="right">300px</div>
</body>
</html>
2016-01-24
你把.right{width:300px;height:500px;background:#993366;position:absolute;right:o;top:o}改為.right{width:300px;height:500px;background:#993366;position:absolute;right:0;top:0}
2016-01-24
你的0寫成了o吧。。
我的:
<!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>
<style type="text/css">
body{margin:0;padding:0}
.left{
?height:800px;
?width:200px;
?background:#CCC;
?position:absolute;
?left:0;
?top:0;
}
.middle{
?height:800px;
?background:#666;
?margin:0 310px 0 210px;
}
.right{
?height:800px;
?width:300px;
?background:#DDD;
?position:absolute;
?right:0;
?top:0;
}
</style>
</head>
<body>
<div class="left">200px</div>
<div class="middle">廣州天降冰粒,強大的寒潮席卷全國,中央氣象臺少有地發布了寒潮橙色預警,破最冷記錄的氣象站在地圖上密密麻麻的排列著,一直伸展到南國廣東。就在今早,已有12個國家級氣象站打破歷史紀錄,遼寧、內蒙、河北、山東、甘肅、西藏均榜上有名。
</div>
<div class="right">300px</div>
</body>
</html>