使用CSS定义文字字体

html-css014

使用CSS定义文字字体,第1张

做了一个导航横向代码里面的鼠标未移上去时的字体怎么也改不了颜色和大小

希望高手帮个忙看看怎么改CSS代码:#top1

{

WIDTH:

969px}/*---------------------页面基础定义----------------------------------*/body,td,th

{

font-family:

Tahoma,

Verdana,

Arial,

sans-serif

font-size:

12px

color:

#000000}body

{

margin-left:

0px

margin-top:

0px

margin-right:

0px

margin-bottom:

0px}/*---------------------链接定义----------------------------------*/a

{

color:

#FFFFFF

text-decoration:

none}a:hover

{

color:

#000000

text-decoration:

none}a:active{

color:

#FF0000

text-decoration:

none}/*---------------------菜单样式----------------------------------*/#menu{

height:32px

margin-top:1px

background-color:#90D311}#menu

ul{

margin:auto

width:778px

height:32px

list-style-type:none

padding:0px

margin-top:0px

margin-bottom:0px}.m_li{

float:left

width:88px

line-height:32px

text-align:center

margin-right:-2px

margin-left:-2px}.m_li

a:link{

display:block

color:#FFFFFF

width:85px}.m_line{

float:left

width:1px

height:32px

line-height:32px

/*ff下有效(图片垂直居中)*/}.m_line

img{

margin-top:expression((

32

-

this.height

)

/

2)

/*ie下有效(图片垂直居中)*/}.m_li_a{

float:left

width:85px

line-height:32px

text-align:center

padding-top:3px

font-weight:bold

background-image:url(

http://127.0.0.1/daohang/images/menu_bg.JPG

)

position:relative

height:32px

margin-top:-3px

margin-right:-2px

margin-left:-2px}.m_li_a

a{

display:block

color:#FF0000

width:85px}.smenu{

width:810x

margin:0px

auto

0px

auto

padding:0px

list-style-type:none

height:32px

FLOAT:

left}.s_li{

line-height:32px

FLOAT:

left

width:auto

display:none

height:32px

}.s_li_a{

line-height:32px

width:auto

display:block

height:32px

FLOAT:

left}

设置--模版设置--创建新模版--自定义编辑css

百度空间css说明

http://hi.baidu.com/0454ldk/blog/item/47a579c6c5b5801b9d163dc1.html

百度空间css个性代码

http://hi.baidu.com/0454ldk/blog/item/ac810546e845f0096b63e5c1.html

百度空间分享模版

http://hi.baidu.com/sys/share/pub_1

新手如何做空间http://hi.baidu.com/h39024519/blog/item/bab93401d318750e7bec2c1d.html

CSS代码设置图解!http://hi.baidu.com/h39024519/blog/item/f7586306c456837b03088171.html

http://www.baidu.com/search/hi/hi_css.html

参考资料:http://zhidao.baidu.com/question/20275429.html?fr=qrl3

将图片上传至空间相册

百度空间原有模版下载

http://hi.baidu.com/0454ldk/blog/item/9da721736c8ffd1c8701b0c3.html

百度空间css说明

http://hi.baidu.com/0454ldk/blog/item/47a579c6c5b5801b9d163dc1.html

百度空间css个性代码

http://hi.baidu.com/0454ldk/blog/item/ac810546e845f0096b63e5c1.html