div/css高手帮帮忙

来源:百度知道 编辑:UC知道 时间:2024/06/02 02:41:51
<style type="text/css">
html body{ margin:0; padding:0; border:none; font-size:12px; color:#000000; line-height:180%; overflow: auto }
.tou{ width:918px; height:100px; background:url(file:///C|/Inetpub/wwwroot/image/logo.gif) no-repeat center; padding-left:85px; }
.daohang{ width:918px; height:50px; background:url(file:///C|/Inetpub/wwwroot/image/daohang.gif) no-repeat center;padding-left:85px; padding-top:10px; }
.denglu{ position: absolute; width:231px; height:141px; left:44px; top:165px;background:url(file:///C|/Inetpub/wwwroot/image/denglu.gif) no-repeat center; border:solid 1px #0033FF; }
.gonggao{ position:absolute; width:231px; height:200px; left:44px; top:311px; background:url(file:///C|/Inetpub/wwwroot/image/beijing.gif) no-repeat ; border: #0033FF solid 1px; }

</style>

</head>

<body>
<div class="tou" id='crazycoder_cn'>听书颂,品人生</div>

&l

<div class="gonggao" style="height:300px; top:516; "> </div>
</body>
</html>
top:516=>top:560px

用margin-left留出空白

有啊显示滚动条,你背景图像怎么用绝度路径???