【闫帮】癫盐 【闫帮】癫盐
关注数: 4 粉丝数: 4 发帖数: 470 关注贴吧数: 3
【转载】百度空间实用技巧集 【转载】百度空间实用技巧集1.如何更换空间背景? body{background:url(http://img.baidu.com/hi/temp13/hdl.gif)} 或body{background-color:#xxxxxx} 找一个图片,复制下图片的URL地址替换掉的http://img.baidu.com/hi/temp13/hdl.gif就行了。 换成body{background:url(你的图片地址)} 2.更改空间的鼠标样式body{background:#000;CURSOR:url('http://webme.bokee.com/inc/mouse079.cur')} a:hover{CURSOR:url('http://webme.bokee.com/inc/mouse024.ani')} 说明1:第一行是鼠标指针初始形态,第二行是鼠标指针碰到链接的形态。3.如何隐藏播放器而不影响音乐播放。 在css 文件的空白处添加以下代码: #mod_bgmusic{display:none} 4.背景音乐支持多首歌曲 将音乐的网址写到一个记事本文件里,格式为http://xxxxxx.mp3http://xxxxxx.mp3http://xxxxxx.wma保存扩展名为mp3(1.mp3),然后将这个文件找个空间传上去。 回到空间中将背景音乐的地址设置为你刚刚做的文件就可以。格式如下(最好是wma文件,因为比较快)6.百度空间文字发光的方法在你想要设置发光文字的模块插入;filter:glow (color=#xxxxxx,strength=3)color为发光的颜色,strength为发光强度,值为1到2557.教你加显示IP地址代码 在最下面加入下面全码 #comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #BBC1C6;background:url(http://www.ip.cn/s.php) no-repeat bottom; padding-bottom: 40px; margin-bottom: 10px} 8.文字的阴影效果 Filter:DropShadow(Color=color,Offx=Offx,Offy=offy,Positive=positive)offx是指阴影的横向方向,y为纵向,负值为反方向(朝上)9.给自己的主页加上漂亮的计数器首先登录网站http://www.00counter.com/,注册,登陆,申请计数器,填写网站资料,调用代码,本来这段HTML代码是添加在网页上面的,但是因为我们的百度空间还不支持修改HTML代码,所以我们只能把图片http://00counter.com/counter.asp?id=282191取出来,在百度css内容的最末端添加上一行代码:#mod_links.mod{background:url(http://00counter.com/counter.asp?id=282191) no-repeat;background-position: bottom;padding-bottom: 120px;}要是想放在其他栏目的后面,修改#mod_links为相应的栏目ID即可.10.播放器大小调整播放器代码#phx{FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=10, StartY=10, FinishX=0,FinishY=0); WIDTH: 470px; HEIGHT: 400px} 470和400分别是播放器的宽和高!根据MV视频大小自己改哦! 11.评论下增加背景图css末尾加入代码:#spBlogCmtText {border: 8px solid #1AE61A ;background:url(图片地址) no-repeat top center;background-attachment: fixed; 图片地址换成自己的图片,最佳尺寸是503*153,这样会图片完全显示,8px表示评论边框的宽度,#1AE61A 表示评论边框的颜色12。做分割线的方法 把原来的代码换成:/*文章栏目分割线*/#m_blog div.line{margin-top:17px;line-height:17px;background:url('图片地址') ;repeat-x}/*评论栏目分割线*/#m_comment div.line{background:url('图片地址');line-height:12px} /*文章分类分割线*/#m_artclg div.line{background:url('图片地址');line-height:12px} /*有请连接分割线*/#m_links div.line{background:url('图片地址');line-height:12px}13.制作透明的模块把filter:alpha(opacity=80)写入你想要透明的模块中,opacity为0是完全透明,100是不透明。
1 下一页