百度空间CSS问题

html-css029

百度空间CSS问题,第1张

body{background:#0E0E10}

td,div{color:#EE11EE}

#header{height:200pxbackground:#000000}

#header div.lc{}

#header div.rc{background:url(http://img.baidu.com/hi/temp11/hdr.jpg) no-repeat top right}

#header div.tit{top:25pxleft:20pxline-height:22pxfont-size:20pxfont-family:黑体}

#header div.tit a.titlink{color:#FFFFFFtext-decoration:none}

#header div.tit a.titlink:visited{color:#FFFFFFtext-decoration:none}

#header div.desc{top:50pxleft:20pxcolor:#FFFFFFfont-size:13px}

#tabline{top:199px}

#tab{top:177px}

#tab a.on,#tab a.on:link,#tab a.on:visited{margin-top:2pxline-height:19pxcolor:#C3C3C3font-size:14px}

#tab span{color:#C3C3C3font-size:14px}

#tab a:link{color:#C3C3C3text-decoration:nonefont-size:14px}

#tab a:visited{color:#C3C3C3text-decoration:nonefont-size:14px}

#tab2{background:#DAE9F5}

#tab2 span{color:#000000font-size:12pxfont-weight:bold}

#tab2 a{font-size:12px}

#tab2 a:link{color:#0000CC}

#tab2 a:visited{color:#0000CC}

.stage{background:#0E0E10}

#comm_info{color:#666666font-family:Arialtext-align:left}

#comm_info div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#comm_info a{color:#FAA511}

#page{height:30pxfont-size:14pxfont-family:Arialtext-align:center}

#page span{padding:3pxcolor:#666666font-size:14pxfont-weight:bold}

#page a.pc{color:#FAA511font-size:14pxfont-weight:bold}

#page a.pc:visited{color:#FAA511}

#page a.pi{padding:3pxcolor:#FAA511font-size:14px}

#page a.pi:visited{color:#FAA511}

.mod{margin-bottom:10px}

.modhandle{cursor:move}

.modth{height:24px}

.modhead{padding:4px 4px 0 4px}

.modopt{padding:4px 4px 0 0}

.modtit{color:#FAA511font-size:12pxfont-weight:bold}a.modtit{color:#FAA511}a.modtit:visited{color:#FAA511}

.modtitlink{color:#FAA511font-size:12pxfont-weight:bold}a.modtitlink{color:#FAA511text-decoration:none}a.modtitlink:visited{color:#FAA511text-decoration:none}a.modtitlink:hover{color:#FF5100text-decoration:underline}

.modact{color:#FAA511font-size:12px}a.modact:link{color:#FAA511}a.modact:visited{color:#FAA511}

.modbox{padding:10px 10px 0 10px}

.modtl{line-height:1px}

.modtc{}

.modtr{line-height:1px}

.modbl{line-height:1px}

.modbc{line-height:1px}

.modbr{line-height:1px}

#m_blog div.tit{font-size:14pxfont-weight:bold}

#m_blog div.tit a{color:#CCCCCCfont-size:14pxfont-weight:bold}

#m_blog div.tit a:visited{color:#CCCCCC}

#m_blog div.date{margin:5px 0 8px 0color:#FFFFFF}

#m_blog div.cnt{color:#CCCCCCline-height:20pxfont-size:14px}

#m_blog div.more{margin:14px 0 16px 0}

#m_blog div.more a{color:#FAA511font-size:14px}

#m_blog div.more a:visited{color:#FAA511}

#m_blog div.opt{color:#666666font-size:12px}

#m_blog div.opt a{color:#FAA511font-size:12px}

#m_blog div.opt a:visited{color:#FAA511}

#m_blog div.line{margin-top:17pxline-height:17pxborder-top:1px solid #43212E}

#m_blog div.none{padding:100px 0 100px 0color:#666666font-size:14px}

#m_pro a{color:#FAA511}

#m_pro a:visited{color:#FAA511}

#m_pro div.image{text-align:center}

#m_pro div.act{margin-top:10px}

#m_pro div.user{margin-top:10pxcolor:#666666font-size:12pxfont-weight:bold}

#m_pro div.desc{color:#666666font-size:12px}

#m_pro div.line{margin-top:17pxline-height:17pxborder-top:1px solid #43212E}

#m_pro td{color:#666666line-height:24pxfont-size:14px}

#m_album div.image{text-align:center}

#m_album div.page{color:#666666font-size:12pxtext-align:center}

#m_album div.page a{color:#0000CCfont-size:12px}

#m_album div.page a:visited{color:#0000CC}

#m_links div.item{color:#666666font-size:12px}

#m_links div.item a{color:#FAA511font-size:12pxtext-decoration:none}

#m_links div.item a:visited{color:#FAA511}

#m_links div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#m_artclg div.item{color:#666666font-size:12px}

#m_artclg div.item a{color:#FAA511font-size:12px}

#m_artclg div.item a:visited{color:#FAA511}

#m_artclg div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#m_comment div.item{color:#666666font-size:12px}

#m_comment div.item a{color:#FAA511font-size:12px}

#m_comment div.item a:visited{color:#FAA511}

#m_comment div.item a.cnt{color:#666666font-size:12pxtext-decoration:none}

#m_comment div.item a.cnt:visited{color:#666666text-decoration:none}

#m_comment div.item a.cnt:hover{color:#666666text-decoration:underline}

#m_comment div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#m_albumlist div.note{color:#666666font-size:14px}

#m_albumlist div.desc{margin-bottom:12pxpadding:3px 10px 3px 10pxline-height:22pxbackground-color:#F2F2F2font-size:14px}

#m_albumlist div.none{padding:100px 0 100px 0color:#666666font-size:14px}

#m_albumlist div.line{margin-top:10pxline-height:16pxborder-top:1px solid #43212E}

#m_albumlist div.tit{margin:6px 0 7px 0color:#666666font-size:14px}

#m_albumlist div.tit a{color:#FAA511font-size:14px}

#m_albumlist div.tit a:visited{color:#FAA511}

#m_albumlist span.count{color:#666666font-size:12pxfont-weight:bold}

#m_albumlist span.size{color:#999999font-size:12pxfont-family:Arial}

#m_albumlist a.act{color:#FAA511font-size:12px}

#m_albumlist a.act:visited{color:#FAA511}

#m_albumlist a.page{color:#0000CCfont-size:14px}

#m_albumlist a.page:visited{color:#0000CC}

#m_albumlist td.image{padding:5pxborder:1px solid #999999background:#FFFFFF}

#m_friend div.filter{margin-bottom:10pxpadding-left:10pxpadding-top:10pxheight:27pxline-height:27px}

#m_friend div.catalog{margin-bottom:10pxpadding-left:10pxheight:27pxline-height:27pxbackground-color:#F2F2F2font-size:14px}

#m_friend div.user{margin-top:4pxcolor:#666666font-size:12px}

#m_friend div.user a{color:#FAA511font-size:12px}

#m_friend div.user a:visited{color:#FAA511}

#m_friend div.line{margin-top:10pxline-height:16pxborder-top:1px solid #43212E}

#m_setting a{color:#FAA511}

#m_setting a:visited{color:#FAA511}

#m_setting{line-height:22pxcolor:#666666font-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:6pxfont-size:14pxfont-weight:bold}

#m_setting div.line{margin-top:20pxline-height:16pxborder-top:1px solid #43212E}

#m_sysinfo a{color:#FAA511}

#m_sysinfo a:visited{color:#FAA511}

#m_sysinfo{line-height:22pxcolor:#666666font-size:14px}

#m_sysinfo span.new{color:#FF0000font-size:10pxfont-family:Arial}

#m_sysinfo span.date{color:#666666font-size:14px}

#m_setbase{color:#666666font-size:14px}

#m_setbase td{color:#666666font-size:14px}

#m_setbase div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#in_comment{width:710px}

#in_comment div.tit{margin-bottom:12pxcolor:#666666font-size:14pxfont-weight:bold}

#in_comment div.user{margin-bottom:6pxcolor:#666666font-size:12px}

#in_comment div.user a{color:#FAA511font-size:12px}

#in_comment div.user a:visited{color:#FAA511}

#in_comment div.user span.date{color:#666666font-size:12px}

#in_comment div.desc{color:#666666font-size:12px}

#in_comment div.line{margin-top:17pxline-height:17pxborder-top:1px solid #43212E}

#in_send div.tit{margin:10px 0 10px 0color:#666666font-size:14pxfont-weight:bold}body{background:#0E0E10}

td,div{color:#EE11EE}

#header{height:200pxbackground:#000000}

#header div.lc{}

#header div.rc{background:url(http://img.baidu.com/hi/temp11/hdr.jpg) no-repeat top right}

#header div.tit{top:25pxleft:20pxline-height:22pxfont-size:20pxfont-family:黑体}

#header div.tit a.titlink{color:#FFFFFFtext-decoration:none}

#header div.tit a.titlink:visited{color:#FFFFFFtext-decoration:none}

#header div.desc{top:50pxleft:20pxcolor:#FFFFFFfont-size:13px}

#tabline{top:199px}

#tab{top:177px}

#tab a.on,#tab a.on:link,#tab a.on:visited{margin-top:2pxline-height:19pxcolor:#C3C3C3font-size:14px}

#tab span{color:#C3C3C3font-size:14px}

#tab a:link{color:#C3C3C3text-decoration:nonefont-size:14px}

#tab a:visited{color:#C3C3C3text-decoration:nonefont-size:14px}

#tab2{background:#DAE9F5}

#tab2 span{color:#000000font-size:12pxfont-weight:bold}

#tab2 a{font-size:12px}

#tab2 a:link{color:#0000CC}

#tab2 a:visited{color:#0000CC}

.stage{background:#0E0E10}

#comm_info{color:#666666font-family:Arialtext-align:left}

#comm_info div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#comm_info a{color:#FAA511}

#page{height:30pxfont-size:14pxfont-family:Arialtext-align:center}

#page span{padding:3pxcolor:#666666font-size:14pxfont-weight:bold}

#page a.pc{color:#FAA511font-size:14pxfont-weight:bold}

#page a.pc:visited{color:#FAA511}

#page a.pi{padding:3pxcolor:#FAA511font-size:14px}

#page a.pi:visited{color:#FAA511}

.mod{margin-bottom:10px}

.modhandle{cursor:move}

.modth{height:24px}

.modhead{padding:4px 4px 0 4px}

.modopt{padding:4px 4px 0 0}

.modtit{color:#FAA511font-size:12pxfont-weight:bold}a.modtit{color:#FAA511}a.modtit:visited{color:#FAA511}

.modtitlink{color:#FAA511font-size:12pxfont-weight:bold}a.modtitlink{color:#FAA511text-decoration:none}a.modtitlink:visited{color:#FAA511text-decoration:none}a.modtitlink:hover{color:#FF5100text-decoration:underline}

.modact{color:#FAA511font-size:12px}a.modact:link{color:#FAA511}a.modact:visited{color:#FAA511}

.modbox{padding:10px 10px 0 10px}

.modtl{line-height:1px}

.modtc{}

.modtr{line-height:1px}

.modbl{line-height:1px}

.modbc{line-height:1px}

.modbr{line-height:1px}

#m_blog div.tit{font-size:14pxfont-weight:bold}

#m_blog div.tit a{color:#CCCCCCfont-size:14pxfont-weight:bold}

#m_blog div.tit a:visited{color:#CCCCCC}

#m_blog div.date{margin:5px 0 8px 0color:#FFFFFF}

#m_blog div.cnt{color:#CCCCCCline-height:20pxfont-size:14px}

#m_blog div.more{margin:14px 0 16px 0}

#m_blog div.more a{color:#FAA511font-size:14px}

#m_blog div.more a:visited{color:#FAA511}

#m_blog div.opt{color:#666666font-size:12px}

#m_blog div.opt a{color:#FAA511font-size:12px}

#m_blog div.opt a:visited{color:#FAA511}

#m_blog div.line{margin-top:17pxline-height:17pxborder-top:1px solid #43212E}

#m_blog div.none{padding:100px 0 100px 0color:#666666font-size:14px}

#m_pro a{color:#FAA511}

#m_pro a:visited{color:#FAA511}

#m_pro div.image{text-align:center}

#m_pro div.act{margin-top:10px}

#m_pro div.user{margin-top:10pxcolor:#666666font-size:12pxfont-weight:bold}

#m_pro div.desc{color:#666666font-size:12px}

#m_pro div.line{margin-top:17pxline-height:17pxborder-top:1px solid #43212E}

#m_pro td{color:#666666line-height:24pxfont-size:14px}

#m_album div.image{text-align:center}

#m_album div.page{color:#666666font-size:12pxtext-align:center}

#m_album div.page a{color:#0000CCfont-size:12px}

#m_album div.page a:visited{color:#0000CC}

#m_links div.item{color:#666666font-size:12px}

#m_links div.item a{color:#FAA511font-size:12pxtext-decoration:none}

#m_links div.item a:visited{color:#FAA511}

#m_links div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#m_artclg div.item{color:#666666font-size:12px}

#m_artclg div.item a{color:#FAA511font-size:12px}

#m_artclg div.item a:visited{color:#FAA511}

#m_artclg div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#m_comment div.item{color:#666666font-size:12px}

#m_comment div.item a{color:#FAA511font-size:12px}

#m_comment div.item a:visited{color:#FAA511}

#m_comment div.item a.cnt{color:#666666font-size:12pxtext-decoration:none}

#m_comment div.item a.cnt:visited{color:#666666text-decoration:none}

#m_comment div.item a.cnt:hover{color:#666666text-decoration:underline}

#m_comment div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#m_albumlist div.note{color:#666666font-size:14px}

#m_albumlist div.desc{margin-bottom:12pxpadding:3px 10px 3px 10pxline-height:22pxbackground-color:#F2F2F2font-size:14px}

#m_albumlist div.none{padding:100px 0 100px 0color:#666666font-size:14px}

#m_albumlist div.line{margin-top:10pxline-height:16pxborder-top:1px solid #43212E}

#m_albumlist div.tit{margin:6px 0 7px 0color:#666666font-size:14px}

#m_albumlist div.tit a{color:#FAA511font-size:14px}

#m_albumlist div.tit a:visited{color:#FAA511}

#m_albumlist span.count{color:#666666font-size:12pxfont-weight:bold}

#m_albumlist span.size{color:#999999font-size:12pxfont-family:Arial}

#m_albumlist a.act{color:#FAA511font-size:12px}

#m_albumlist a.act:visited{color:#FAA511}

#m_albumlist a.page{color:#0000CCfont-size:14px}

#m_albumlist a.page:visited{color:#0000CC}

#m_albumlist td.image{padding:5pxborder:1px solid #999999background:#FFFFFF}

#m_friend div.filter{margin-bottom:10pxpadding-left:10pxpadding-top:10pxheight:27pxline-height:27px}

#m_friend div.catalog{margin-bottom:10pxpadding-left:10pxheight:27pxline-height:27pxbackground-color:#F2F2F2font-size:14px}

#m_friend div.user{margin-top:4pxcolor:#666666font-size:12px}

#m_friend div.user a{color:#FAA511font-size:12px}

#m_friend div.user a:visited{color:#FAA511}

#m_friend div.line{margin-top:10pxline-height:16pxborder-top:1px solid #43212E}

#m_setting a{color:#FAA511}

#m_setting a:visited{color:#FAA511}

#m_setting{line-height:22pxcolor:#666666font-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:6pxfont-size:14pxfont-weight:bold}

#m_setting div.line{margin-top:20pxline-height:16pxborder-top:1px solid #43212E}

#m_sysinfo a{color:#FAA511}

#m_sysinfo a:visited{color:#FAA511}

#m_sysinfo{line-height:22pxcolor:#666666font-size:14px}

#m_sysinfo span.new{color:#FF0000font-size:10pxfont-family:Arial}

#m_sysinfo span.date{color:#666666font-size:14px}

#m_setbase{color:#666666font-size:14px}

#m_setbase td{color:#666666font-size:14px}

#m_setbase div.line{margin-top:5pxline-height:8pxborder-top:1px solid #43212E}

#in_comment{width:710px}

#in_comment div.tit{margin-bottom:12pxcolor:#666666font-size:14pxfont-weight:bold}

#in_comment div.user{margin-bottom:6pxcolor:#666666font-size:12px}

#in_comment div.user a{color:#FAA511font-size:12px}

#in_comment div.user a:visited{color:#FAA511}

#in_comment div.user span.date{color:#666666font-size:12px}

#in_comment div.desc{color:#666666font-size:12px}

#in_comment div.line{margin-top:17pxline-height:17pxborder-top:1px solid #43212E}

#in_send div.tit{margin:10px 0 10px 0color:#666666font-size:14pxfont-weight:bold}

你好:目前已经无法添加模板代码(即便用了代码,1月21日后也会消失)。 您可以使用新的工具上传工具自己更换博客的模板。 现在登陆博客后,点击首页上的“更换模板”,可选择新浪模版,在右侧选择“自定义模板”即可上传自己喜欢的图片作为通栏背景或博客大背景图片,还可以设置图片是否平铺,水平、垂直方向大小,像素等等。 上传图片现在支持大小不超过600k的jpg,gif,png图片,建议宽度为770象素。 请参考公告: 1、新浪博客服务维护公告http://blog.sina.com.cn/lm/gonggao/1208.html 2、新浪博客模板自定义功能上线公告http://blog.sina.com.cn/lm/gonggao/1239.html祝愉快!工作顺利!

求采纳

<script

type="text/javascript">

<!--

//var

ua

=

navigator.userAgent.toLowerCase()

var

Sys

=

{}

var

ua

=

navigator.userAgent.toLowerCase()

var

s

(s

=

ua.match(/msie

([\d.]+)/))

?

Sys.ie

=

s[1]

:

(s

=

ua.match(/firefox\/([\d.]+)/))

?

Sys.firefox

=

s[1]

:

(s

=

ua.match(/chrome\/([\d.]+)/))

?

Sys.chrome

=

s[1]

:

(s

=

ua.match(/opera.([\d.]+)/))

?

Sys.opera

=

s[1]

:

(s

=

ua.match(/version\/([\d.]+).*safari/))

?

Sys.safari

=

s[1]

:

0

if(Sys.ie)

{

if(Sys.ie

==

8.0)

{

//alert("您当前使用的是

IE"

+

Sys.ie

+

"浏览器!"

)

document.getElementById("tzgd").height

=

"140"

}

}

else

if(Sys.firefox)

{

document.getElementById("tzgd").height

=

"140"

alert("您当前使用的是

Firefox"

+

Sys.firefox

+

"浏览器,建议您使用

IE

6.0以上版本浏览器!"

)

}

else

if(Sys.chrome)

{

alert("您当前使用的是

Chrome"

+

Sys.chrome

+

"浏览器,建议您使用

IE

6.0

以上版本浏览器!")

}

else

if(Sys.opera)

{

alert("您当前使用的是

Opera"

+

Sys.opera

+

"浏览器,建议您使用

IE

6.0以上版本浏览器!"

)

}

else

if(Sys.safari)

{

alert("您当前使用的是

Safari"

+

Sys.safari

+

"浏览器,建议您使用

IE

6.0以上版本浏览器!"

)

}

else

{

alert("无法检测出您正在使用的浏览器版本!为了您使用的方便,我们建议您使用IE7.0版浏览器!")

//return

false

}

if(top.location

!=

self.location)

top.location

=

self.location

//-->

</script>