说明:
1、所提供代码只能改变博客首页模版样式,点击查看原文便恢复系统模版。
2、使用前请去掉原有更改模版的代码,如鼠标,背景等;并更换原始系统模版:控制面板→定制我的模板→更新模板→选择 轻描淡写
模板,设置好后保存。
<EMBED style="LEFT: 100px; POSITION: absolute; TOP: 0px"
align=right src=http://photocdn.sohu.com/ppp/blog/swf/10.swf
width=803 height=155 type=application/x-shockwave-flash
wmode="transparent" quality="high" ;></EMBED>
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; ; LEFT:
<DIV style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FILTER: progid:DXImageTransform.Microsoftpadding:8px; ; LEFT:
expression_r(eval_r(document.body.scrollLeft)+eval_r(document.body.clientWidth)-63);
BORDER-LEFT: medium none; BORDER-BOTTOM:
medium none; POSITION: absolute; ; TOP:
expression_r(eval_r(document.body.scrollTop)+eval_r(document.body.clientHeight)-195);
TEXT:
center"><A href="你的博客地址#top"><IMG src="http://static2.photo.sina.com.cn/orignal/4723cdbf944f9770be841"
border=0></A></DIV>
<STYLE type=text/css>
A{text-decoration:none;color:#51bfe0;}
A:hover{text-decoration:none;font-weight: bold;color:#FF7850;}
A:link{text-decoration:none;}
A:visited{text-decoration:none;}
A:active{text-decoration:none;}
.add A{COLOR: #000000;}
.add{background:#transparent;}
.add .ico{background:#transparent;}
body
{background:url(http://static9.photo.sina.com.cn/orignal/4b1552d1a6e918ed2c428) repeat fixed!important;margin:0px;
SCROLLBAR-FACE-COLOR: #EEEDD8;
SCROLLBAR-HIGHLIGHT-COLOR: #D7D8C8;
SCROLLBAR-SHADOW-COLOR: #D7D8C8;
SCROLLBAR-3DLIGHT-COLOR: #D7D8C8;
SCROLLBAR-ARROW-COLOR: #D7D8C8;
SCROLLBAR-TRACK-COLOR: #EEEDD8;
SCROLLBAR-DARKSHADOW-COLOR: #D7D8C8;}
.bodybg
{background:url(http://static1.photo.sina.com.cn/orignal/4b1552d1ae3d050e636b0) no repeat no fixed!important;width:790px;}
.bodytop{display:none;}
.bodyBottom
{background:url(http://static3.photo.sina.com.cn/orignal/4b1552d1aa9b8982b5fe2);width:790px;height:77px;}
.banner table{background:#transparent;filter:alpha(opacity=85);border:0px solid #000;}
.banner .title td{color:#F7EEC7;font-size:35px;filter: glow(color=#333333,direction=2);}
.banner .title{margin-top:0px;margin-left:290px;font-weight:bold;}
.banner .link{margin-top:10px;margin-left:380px;}
.banner .link a{color:#F7EEC7;font-size:13px;filter: glow(color=gray,direction=2);}
.banner .link td{color:#F7EEC7;font-size:13px;filter: glow(color=gray,direction=2);}
.banner
{background:url(http://static5.photo.sina.com.cn/orignal/4b1552d194a1ab84410d4);height:130px;}
.menu a{color:#F7EEC7;}
.menu .text{color:#F7EEC7;}
.menu
{background:url(http://static2.photo.sina.com.cn/orignal/4b1552d12e1c38ce0f151);no-repeat center;height:26px;width:790px;}
.photo .infoText a{color:#000000;}
.photo .mid{background:#transparent;}
.label .mid{background:#transparent;}
.links .text{color:#484848;}
.links .desc{color:#444444;}
.links .mid{background:#transparent;}
.links .more
{background:url(http://static11.photo.sina.com.cn/orignal/4b1552d17fab99a4759ea);height:30;width:40px;}
.gbook .up{background:#transparent;}
.gbook .down{background:#transparent;}
.links .up
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.links .down
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.callboard .up
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.callboard .down
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.callboard .mid{background:#transparent;}
.callboard .title{color:#484848;}
.calendar .mid{background:#transparent;}
.feeds .up
{background:url("http://static14.photo.sina.com.cn/orignal/4b1552d1b3e4fca5ffd9d") no-repeat center;height:29px;}
.feeds .down
{background:url("http://static14.photo.sina.com.cn/orignal/4b1552d1b3e4fca5ffd9d") no-repeat center;height:29px;}
.feeds .title{color:#333333;font-size:20px;font-family:Tahoma,monospace,arial,system;font-weight:bolder;filter:shadow
(color=gray,strength=3);text-align:center;height:100%;width:100%;line-height:100%;padding-top:5px;padding-right:20px;margin-
right:30px;!important;}
.feeds .page{background:#transparent;}
.feeds .function{background:#transparent;}
.feeds .function A{COLOR:#000000;}
.feeds .function TD{COLOR:#000000;}
.feeds .text A{COLOR:#000000;}
.feeds .text{width:540px;}
.feeds .aBody table{width:540px;}
.feeds .itemBox table{width:540px;}
.sysW770{display:none;}
A:hover
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
body
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
<STYLE type=text/css>
A{text-decoration:none;color:#51bfe0;}
A:hover{text-decoration:none;font-weight: bold;color:#FF7850;}
A:link{text-decoration:none;}
A:visited{text-decoration:none;}
A:active{text-decoration:none;}
.add A{COLOR: #000000;}
.add{background:#transparent;}
.add .ico{background:#transparent;}
body
{background:url(http://static9.photo.sina.com.cn/orignal/4b1552d1a6e918ed2c428) repeat fixed!important;margin:0px;
SCROLLBAR-FACE-COLOR: #EEEDD8;
SCROLLBAR-HIGHLIGHT-COLOR: #D7D8C8;
SCROLLBAR-SHADOW-COLOR: #D7D8C8;
SCROLLBAR-3DLIGHT-COLOR: #D7D8C8;
SCROLLBAR-ARROW-COLOR: #D7D8C8;
SCROLLBAR-TRACK-COLOR: #EEEDD8;
SCROLLBAR-DARKSHADOW-COLOR: #D7D8C8;}
.bodybg
{background:url(http://static1.photo.sina.com.cn/orignal/4b1552d1ae3d050e636b0) no repeat no fixed!important;width:790px;}
.bodytop{display:none;}
.bodyBottom
{background:url(http://static3.photo.sina.com.cn/orignal/4b1552d1aa9b8982b5fe2);width:790px;height:77px;}
.banner table{background:#transparent;filter:alpha(opacity=85);border:0px solid #000;}
.banner .title td{color:#F7EEC7;font-size:35px;filter: glow(color=#333333,direction=2);}
.banner .title{margin-top:0px;margin-left:290px;font-weight:bold;}
.banner .link{margin-top:10px;margin-left:380px;}
.banner .link a{color:#F7EEC7;font-size:13px;filter: glow(color=gray,direction=2);}
.banner .link td{color:#F7EEC7;font-size:13px;filter: glow(color=gray,direction=2);}
.banner
{background:url(http://static5.photo.sina.com.cn/orignal/4b1552d194a1ab84410d4);height:130px;}
.menu a{color:#F7EEC7;}
.menu .text{color:#F7EEC7;}
.menu
{background:url(http://static2.photo.sina.com.cn/orignal/4b1552d12e1c38ce0f151);no-repeat center;height:26px;width:790px;}
.photo .infoText a{color:#000000;}
.photo .mid{background:#transparent;}
.label .mid{background:#transparent;}
.links .text{color:#484848;}
.links .desc{color:#444444;}
.links .mid{background:#transparent;}
.links .more
{background:url(http://static11.photo.sina.com.cn/orignal/4b1552d17fab99a4759ea);height:30;width:40px;}
.gbook .up{background:#transparent;}
.gbook .down{background:#transparent;}
.links .up
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.links .down
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.callboard .up
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.callboard .down
{background:url(http://static16.photo.sina.com.cn/orignal/4b1552d1f67da1738a0ff);}
.callboard .mid{background:#transparent;}
.callboard .title{color:#484848;}
.calendar .mid{background:#transparent;}
.feeds .up
{background:url("http://static14.photo.sina.com.cn/orignal/4b1552d1b3e4fca5ffd9d") no-repeat center;height:29px;}
.feeds .down
{background:url("http://static14.photo.sina.com.cn/orignal/4b1552d1b3e4fca5ffd9d") no-repeat center;height:29px;}
.feeds .title{color:#333333;font-size:20px;font-family:Tahoma,monospace,arial,system;font-weight:bolder;filter:shadow
(color=gray,strength=3);text-align:center;height:100%;width:100%;line-height:100%;padding-top:5px;padding-right:20px;margin-
right:30px;!important;}
.feeds .page{background:#transparent;}
.feeds .function{background:#transparent;}
.feeds .function A{COLOR:#000000;}
.feeds .function TD{COLOR:#000000;}
.feeds .text A{COLOR:#000000;}
.feeds .text{width:540px;}
.feeds .aBody table{width:540px;}
.feeds .itemBox table{width:540px;}
.sysW770{display:none;}
A:hover
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
body
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
</STYLE>
代码添加方法:
1、控制面板→首页内容维护→自定义空白模板→新建→填写模块标题(随便写什么都可以,只要你知道里面放的是什么东西)→显示源代码→粘贴代码→保存→返回。
2、控制面板→定制我的首页→添加模块→在刚才新建的模块标题前打勾→点击最下面的选取(页面刷新后,等页面完全打开完毕,把鼠标放在模块标题上,等形状变成十字形,便可点住上下移动模块的位置;如果拖动不了的话估计你的网速太慢,刷新页面后再拖动)→最后点击保存设置。
注意:
注意:
1、代码中有“你的博客地址”几个字,使用前请先代入你的博客地址,以实现迅速返回顶部的效果。
2、代码中倒数第三段 .sysW770{display:none;}
定制我的首页添加新模块前得先把这段代码去掉,要不然定制我的首页的时候页面打开没东西,定制好后你可以进控制面板,自定义空白面板里再加上这段代码。
3、代码中最后两段为鼠标代码:
A:hover
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
body
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
body
{cursor:url('http://webme.bokee.com/inc/mouse018.ani');}
如果想更换自己喜欢的鼠标的话,更改鼠标地址 http://webme.bokee.com/inc/mouse018.ani 便可,其他的无须变动。
【新浪博客首页半透明蒙纱效果】
http://blog.sina.com.cn/u/446ae4ee01000720
【更换新浪博客首页页面背景的代码】 http://blog.sina.com.cn/u/446ae4ee0100071z
这2个代码一起加到以前建的面板后面有很好的效果,具体效果见我博客首页
插入表情