如何改变博客标题的字体大小颜色使自己的博客看起来更加醒目,可以使用如下方法:
代码:
<STYLE type=text/css>
.banner .title td{font-size:36px;}
.banner .title td{FILTER: glow(color=#000000,direction=2);}
.banner .title td{color:#ffff66;}
.banner
table{background:#transparent;filter:alpha(opacity=85);border:0px
solid #000;}
</STYLE>
代码说明:
36px为标题文字的字体大小,#000000表示文字效果(显影)的颜色,direction=2表示发光效果的强弱,数值可自行设定,自己觉得合适即可。banner
.title td{color:#ffff66;}表示标题文字的主颜色,banner
table{background:#transparent; filter:alpha(opacity=85); border:0px
solid
#000;},这个是文字及其外框的设置:background:后面的值为标题外框的颜色效果;opacity=85是表示文字的透明度,值越小越透明;border:0px表示外框线条的粗细,数值越大边框线条越粗,数值设为0表示边框隐藏。各项属性值可以根据个人的喜好修改。
附:
美化必备-常用颜色代码: http://blog.sina.com.cn/u/446ae4ee0100034e
