如何在百度空间的文章标题周围加花边图案?

来源:└博友窝  编辑:博客代码网  发布时间:2007-05-14  点击:  [收藏]

找到#m_blog div.tit 行,你会看到有三个#m_blog div.tit 行,

把前两个分别替换为

#m_blog div.tit{color:#8A3506;font-size:14px;font-weight:bold;background:url (http://hiphotos.baidu.com/moxinxi/pic/item/52795166b8579124ab184ca2.jpg) 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 (http://hiphotos.baidu.com/moxinxi/pic/item/52795166b8579124ab184ca2.jpg) no-repeat top left;text-indent: 22px;height:70px;line-height:75px}

其中http://hiphotos.baidu.com/moxinxi/pic/item/52795166b8579124ab184ca2.jpg是你需要的标题 背景,改成你想要的图片地址就好了。

text-indent: 22px是标题左边缩进值
height:70px 是背景所占用的高度,根据你的背景图片的高度设置
line-height:75px是上面空的高度


文章地址:
上一篇:转百度空间    下一篇:~~申了个百度空间