我的BANNER老是不显示,不知道怎么搞的。可不可以把BANNER以外包括背景调到“主页|博客|相册|个人档案 |好友 |”那一长条的下面去?http://hi.baidu.com/kkllxby/blog我的博客贴了我的CSS,望高手指点。
參考答案:body{background:#FFFFFF url(')}
a:hover {position:relative; left:1px; top:1px; clip:rect()}
#layout td.c2t3{padding:0 5px;background:url( ) repeat-x bottom left}
/*【文章列表最下面背景图】*/
#header{height:270px; repeat-x #2BB425}
#header div.lc{}
#header div.rc{background: url() no-repeat top right}
#header div.tit{top:5px;left:20px;line-height:30px;font-size:30px;font-family:幼圆}
#header div.tit a.titlink{color:#0099FF;text-decoration:none}
#header div.tit a.titlink:visited{color:#0099FF;text-decoration:none}
#header div.tit a.titlink:hover{color:#0099FF;text-decoration:none}
#header div.desc{top:27px;left:10px;color:#0099FF;font-size:10px}
#tabline{top:69px}
#tab{top:220px;background:#0186E9}
/*【条】*/
#tab a.on,#tab a.on:link,#tab a.on:visited{margin-top:0px;line-height:22px;background-color:#7CC7FF;color:#000000;font-size:14px}
#tab span{color:#FFFFFF;font-size:14px}
#tab a:link{color:#FFFFFF;text-decoration:none;font-size:14px}
#tab a:visited{color:#FFFFFF;text-decoration:none;font-size:14px}
#tab2{background:#DAE9F5}
#tab2 span{color:#000000;font-size:12px;font-weight:bold}
#tab2 a{font-size:12px}
#tab2 a:link{color:#0000CC}
#tab2 a:visited{color:#0000CC}
#comm_info{color:#666666;font-family:Arial;text-align:left}
#comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #BBC1C6; background:url() no-repeat bottom; padding-bottom: 40px; margin-bottom: 10px}
#comm_info a{color:#1A991E}
#page{height:30px;font-size:14px;font-family:Arial;text-align:center}
#page span{padding:3px;color:#000000;font-size:14px;font-weight:bold}
#page a.pc{color:#1A991E;font-size:14px;font-weight:bold}
#page a.pc:visited{color:#1A991E}
#page a.pi{padding:3px;color:#1A991E;font-size:14px}
#page a.pi:visited{color:#1A991E}
.mod{margin-bottom:10px}
.modhandle{cursor:move}
.modth{height:24px}
.modhead{padding:4px 4px 0 4px}
.modopt{padding:4px 4px 0 0}
.modtit{color:#0092FF;font-size:12px;font-weight:bold}a.modtit{color:#0092FF}a.modtit:visited{color:#0092FF}
.modtitlink{color:#FFFFFF;font-size:12px;font-weight:bold}a.modtitlink{color:#FFFFFF;text-decoration:none}a.modtitlink:visited{color:#FFFFFF;text-decoration:none}a.modtitlink:hover{color:#FF5100;text-decoration:underline}
.modact{color:#0092FF;font-size:12px}a.modact:link{color:#0092FF}a.modact:visited{color:#0092FF}
.modbox{padding:10px 10px 0 10px;background-color:#FFFFFF;border-left:1px solid #813533;border-right:1px solid #813533}
/*【各模块主体边框】*/
.modbl{background-color:#FFFFFF;border-left:1px solid #813533;border-bottom:1px solid #813533;line-height:1px}
.modbc{background-color:#FFFFFF;border-bottom:1px solid #813533;line-height:1px}
.modbr{background-color:#FFFFFF;;border-right:1px solid #813533;border-bottom:1px solid #813533;line-height:1px}
.modbox,.modbl,.modbc,.modbr{filter:alpha(opacity=60);-moz-opacity:0.5;width:auto !important;width:100%}
.modtl{background:url() no-repeat top left;line-height:1px}
.modtc{background:url() repeat-x}
.modtr{background:url() no-repeat top right;line-height:1px}
.modbl{background-color:#FFFFFF;border-left:1px solid #000000;border-bottom:1px solid #000000;line-height:1px}
.modbc{background-color:#FFFFFF;border-bottom:1px solid #000000;line-height:1px}
.modbr{background-color:#FFFFFF;border-right:1px solid #000000;border-bottom:1px solid #000000;line-height:1px}
#m_blog{
overflow-y:auto;height:1800px;
scrollbar-face-color:#0099FF;
scrollbar-highlight-color:#fff;
scrollbar-shadow-color:#000;
scrollbar-arrow-color:#0968F7;
scrollbar-base-color:#0968F7;
scrollbar-dark-shadow-color:#0099FF;
}
#m_blog div.tit{color:#8A3506;font-size:14px;font-weight:bold;background:url() no-repeat top left;text-indent: 22px;height:70px;line-height:75px}
#m_blog div.tit a{color:#8A3506;font-size:14px;font-weight:bold;background:url() no-repeat top left;text-indent: 22px;height:70px;line-height:75px}
#m_blog div.tit a:visited{color:#1A991E}
#m_blog div.date{margin:5px 0 8px 0;color:#999999}
#m_blog div.cnt{border:1px dotted #813533
padding:30px
background-color:#EEFCFF}/*【边框】*/
#m_blog div.more a{color:#1A991E;font-size:14px}
#m_blog div.more a:visited{color:#1A991E}
#m_blog div.opt{color:#999999;font-size:12px}
#m_blog div.opt a{color:#1A991E;font-size:12px}
#m_blog div.opt a:visited{color:#1A991E}
#m_blog div.line{margin-top:17px;line-height:17px;background:url() repeat-x}
#m_blog div.none{padding:100px 0 100px 0;color:#666666;font-size:14px}
#m_pro a{color:#1A991E}
#m_pro a:visited{color:#1A991E}
#m_pro div.image{text-align:center}
#m_pro div.act{margin-top:10px}
#m_pro div.user{margin-top:10px;color:#666666;font-size:12px;font-weight:bold}
#m_pro div.desc{color:#666666;font-size:12px}
#m_pro div.line{margin-top:17px;line-height:17px;border-top:1px solid #ECECEC}
#m_pro td{color:#666666;line-height:24px;font-size:14px}
#m_album div.image{text-align:center}
#m_album div.page{color:#666666;font-size:12px;text-align:center}
#m_album div.page a{color:#0000CC;font-size:12px}
#m_album div.page a:visited{color:#0000CC}
#m_links{scrollbar-face-color: #000000;
SCROLLBAR-FACE-COLOR:#006600;
SCROLLBAR-FACE-COLOR:#fff;
SCROLLBAR-DARKSHADOW-COLOR:#006600;
SCROLLBAR-HIGHLIGHT-COLOR:#000;
SCROLLBAR-3DLIGHT-COLOR:#006600;
SCROLLBAR-SHADOW-COLOR:#000;
SCROLLBAR-TRACK-COLOR:#fff;
overflow-y:auto;height:1140px;
/*【友情链接的滚动条】 */
#m_links div.item{color:#666666;font-size:12px}
#m_links div.item a{color:#1A991E;font-size:12px;text-decoration:none}
#m_links div.item a:visited{color:#1A991E}
#m_links div.line{margin-top:5px;line-height:8px;border-top:1px solid #ECECEC}
#m_artclg div.item{color:#666666;font-size:12px}
#m_artclg div.item a{color:#1A991E;font-size:12px}
#m_artclg div.item a:visited{color:#1A991E}
#m_artclg div.line{margin-top:5px;line-height:8px;border-top:1px solid #ECECEC}
#m_blog div.item{font-size:14px;font-weight:bold;
line-height: px;
text-indent: px;
background:url() no-repeat;}/*【评论插图】*/
#m_comment div.item{color:#666666;font-size:12px}
#m_comment div.item a{color:#1A991E;font-size:12px}
#m_comment div.item a:visited{color:#1A991E}
#m_comment div.item a.cnt{color:#666666;font-size:12px;text-decoration:none}
#m_comment div.item a.cnt:visited{color:#666666;text-decoration:none}
#m_comment div.item a.cnt:hover{color:#666666;text-decoration:underline}
#m_comment div.line{margin-top:5px;line-height:8px;border-top:1px solid #ECECEC}
#m_albumlist div.note{color:#666666;font-size:14px}
#m_albumlist div.desc{margin-bottom:12px;padding:3px 10px 3px 10px;line-height:22px;background-color:#F2F2F2;font-size:14px}
#m_albumlist div.none{padding:100px 0 100px 0;color:#666666;font-size:14px}
#m_albumlist div.line{margin-top:10px;line-height:16px;border-top:1px solid #ECECEC}
#m_albumlist div.tit{margin:6px 0 7px 0;color:#666666;font-size:14px}
#m_albumlist div.tit a{color:#1A991E;font-size:14px}
#m_albumlist div.tit a:visited{color:#1A991E}
#m_albumlist span.count{color:#666666;font-size:12px;font-weight:bold}
#m_albumlist span.size{color:#999999;font-size:12px;font-family:Arial}
#m_albumlist a.act{color:#1A991E;font-size:12px}
#m_albumlist a.act:visited{color:#1A991E}
#m_albumlist a.page{color:#0000CC;font-size:14px}
#m_albumlist a.page:visited{color:#0000CC}
#m_albumlist td.image{padding:5px;border:1px solid #999999;background:#FFFFFF}
#m_friend div.filter{margin-bottom:10px;padding-left:10px;padding-top:10px;height:27px;line-height:27px}
#m_friend div.catalog{margin-bottom:10px;padding-left:10px;height:27px;line-height:27px;background-color:#F2F2F2;font-size:14px}
#m_friend div.user{margin-top:4px;color:#666666;font-size:12px}
#m_friend div.user a{color:#1A991E;font-size:12px}
#m_friend div.user a:visited{color:#1A991E}
#m_friend div.line{margin-top:10px;line-height:16px;border-top:1px solid #ECECEC}
#m_setting a{color:#1A991E}
#m_setting a:visited{color:#1A991E}
#m_setting{line-height:22px;color:#666666;font-size:14px}
#m_setting img.sel{border:4px solid #FFDB7B}
#m_setting img.unsel{border:1px solid #D2D2D2}
#m_setting span.tit{font-size:14px}
#m_setting span.usr{color:#666666}
#m_setting div.sel{padding-top:6px;font-size:14px;font-weight:bold}
#m_setting div.line{margin-top:20px;line-height:16px;border-top:1px solid #ECECEC}
#m_sysinfo a{color:#1A991E}
#m_sysinfo a:visited{color:#1A991E}
#m_sysinfo{line-height:22px;color:#666666;font-size:14px}
#m_sysinfo span.new{color:#FF0000;font-size:10px;font-family:Arial}
#m_sysinfo span.date{color:#666666;font-size:14px}
#m_setbase{color:#666666;font-size:14px}
#m_setbase td{color:#666666;font-size:14px}
#m_setbase div.line{margin-top:5px;line-height:8px;border-top:1px solid #ECECEC}
#in_comment{width:710px}
#in_comment div.tit{margin-bottom:12px;color:#666666;font-size:14px;font-weight:bold}
#in_comment div.user{margin-bottom:6px;color:#666666;font-size:12px}
#in_comment div.user a{color:#1A991E;font-size:12px}
#in_comment div.user a:visited{color:#1A991E}
#in_comment div.user span.date{color:#666666;font-size:12px}
#in_comment div.desc{color:#666666;font-size:12px}
#in_comment div.line{margin-top:17px;line-height:17px;border-top:1px solid #ECECEC}
#in_send div.tit{margin:10px 0 10px 0;color:#333333;font-size:14px;font-weight:bold}
#spBlogCmtText {border: 8px solid #CC00FF;font-size:12px;font-weight:10px;background:url() repeat top center;}
/*【留言】*/
#comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #BBC1C6; background:url() no-repeat bottom; padding-bottom: 40px; margin-bottom: 10px}
/*【IP】*/
#m_mylink1 div.item{color:#6D4BF9;font-size:12px;TEXT-ALIGN: center;} /** 文字颜色、字号、排布方式 **/
#m_mylink1 div.item a{color:#D77B18;font-size:12px} /** 链接名称颜色、大小 **/
#m_mylink1 div.item a:visited{color:brown} /** 访问过的链接的颜色 **/
#m_mylink1 div.item a:hover{color:red;text-decoration:underline} /** 鼠标移动到连接上时链接的颜色并加下划线 **/
#m_mylink1 div.line{margin-top:-5px;line-height:0px} /** 分隔线不显示,链接间距离缩小 **/
/*【公告栏】*/
.stage{background:url() repeat-y right top}
/*【水印】 */
if(document.getElementById("m_links")){var m_links=document.getElementById("m_links");m_links.innerHTML="<marquee scrollAmount=2 width=100% height=100 direction=up onmouseover=stop() onmouseout=start()>"+m_links.innerHTML+"</marquee>";}
/*【友情链接滚动起来】 */
参考资料:把上边代码复制到你的CSS试试