欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

文章內(nèi)容頁(yè)廣告浮于左上角的解決辦法

 更新時(shí)間:2007年03月14日 00:00:00   作者:  
這個(gè)是整頁(yè)代碼,你可以看著改了,也可以保存成HTML文件,完了試試看就知道了,主要用的CSS+DIV

上面的東西移到模板中,下面的東西也是一樣~完了就行了~

<!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>文章內(nèi)容頁(yè)廣告浮于左上角的解決辦法</title>
<style type="text/css">
.container {
display:table;
width:500px;
background:#66FFCC;
}
.main {
display:table-row;
width:100%;
background:#669933;
}
.left {
float:left;
width:165px;
display:table-cell;
background:#663399;
}
.right {
background:#33CCFF
display:table-cell;
}
</style>
</head>
<body>
<div class="container">
  <div class="main">
    <div class="left">廣告部分。
 </div>
 <div class="right">
   文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   文章內(nèi)容部分文章內(nèi)容部分文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   文章內(nèi)容部分<br />
   <br /> </div>
  </div>
</div>
</body>
</html>

相關(guān)文章

最新評(píng)論