代码如下:
<!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">
<!--
div { margin: 0px; }
#oo { height: 300px; width: 523px; margin-right: auto; margin-left: auto; }
#se { background:#99FF99; height:300px; width:120px; float:left; margin: 0px; }
#main { background:#CC0000; height:300px; width:400px; margin-left:120px; }
-->
</style>
</head>
<html>
<body>
<div id="oo">
<div id="se ">此处显示 id "side" 的内容</div>
<div id="main ">此处显示 id "main" 的内容</div>
</div>
</body>
</html>
是不是浏览器最好不要用IE?我用搜狗浏览就没白边,用IE就
非常感谢
是不是浏览器最好不要用IE?我用搜狗浏览就没白边,用IE就
非常感谢