-
百度空间代码大全(2) - [百度空间代码教程]
2008-04-26
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://wwwl.blogbus.com/logs/19792617.html
更多文章居右
#m_blog div.more{margin:14px 0 16px 0;text-align:right}1.在友情链接添加“发送消息”的链接:
在友情链接里的链接地址内填上:http://msg.baidu.com/ms?ct=21&cm=1&tn=bmSendMessage&un=你的百度用户名
这样点击该链接就可以给你发送消息,而这个链接另一个功能就是可以给自己发送消息。
2.在友情链接添加“加为好友”的链接:javascript:document.addfriend.submit()去掉横向滚动条的方法是在body{ }里加上overflow-x : hidden;
—————————CSS系列—————————————
鼠标设置
在body{} 中添加;CURSOR: url("http://webme.bokee.com/inc/mouse028.cur")}
a:hover{CURSOR: url("http://webme.bokee.com/inc/mouse031.ani")
第一行是鼠标指针初始形态,第二行是鼠标指针碰到链接的形态
CSS鼠标样式大全/*不停变换空间背景图片*/
http://magic.qtutu.com//*发表评论中的背景*/
#spBlogCmtor{background:url(图片地址)} /* 姓名*/
#spBlogCmtURL{background:url(图片地址) /* 网址或邮箱*/
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
}
#spBlogCmtText{background:url(图片地址) /* 这是 内容中 的*/
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
}/*改变你的按钮和输入栏的颜色及字体*/
input,select,textarea{color:green;font-size:14px;font-family:Tahoma,黑体;border:1px solid green;background-color:black}
textarea{overflow:hidden}参数
color:green 表示字体颜色。
font-size:14px 表示字体大小。
font-family:Georgia,黑体 表示英文字体和中文字体
border:1px 表示边框的粗细。
solid green 表示边框的颜色。
background-color:black 表示背景色。/*最顶部加字方法!*/
#tabline{margin-top:-490px;right:0px;line-height:8px; background:url(图片地址) no-repeat bottom; padding-bottom: 40px; margin-bottom: 10px}
图片上面打上你要的字~/*添加LOGO*/
#main {background:url(顶部LOGO) no-repeat 10px 0px;} /*10px 0px;距顶部 距左*/
#layout {width:980px;margin-left:0px;background:url(底部LOGO) no-repeat bottom 0px;padding-bottom:80px} /*margin-left:0px底部图片距离最左边长度;bottom 0px边框大小;padding-bottom:80px主体模块最下端距离底部图片最顶端距离*//*添加小背景图片*/
.stage{background:url(小背景图片) repeat-y 0px 0px} /*0px 0px距左 距顶(建议为0)*/随机文章:
百度空间代码大全(4) 2008-04-26百度空间代码大全(3) 2008-04-26百度空间代码大全(1) 2008-04-26百度空间CSS代码 2008-04-26百度空间个性签名TOP30 2008-04-26
收藏到:Del.icio.us




