手机
当前位置:查字典教程网 >网页设计 > Div+Css教程 >css 鼠标经过文字变色
css 鼠标经过文字变色
摘要:#dh{width:1003px;height:36px;background-image:url(images/mmain_03.gif)...

#dh

{

width:1003px;

height:36px;

background-image:url(images/mmain_03.gif)

}

#dh li

{

height:30px;

width:110px;

float:left;

list-style:none;

text-align:center;

margin:7px;

padding:5px;

}

#dh li a:link

{

font-size:16px;

font-weight:bold;

color:#FFFFFF;

text-decoration:none;

}

#dh li a:visited

{

font-size:16px;

font-weight:bold;

font-family:"Arial Black";

color:#FFFFFF;

text-decoration:none;

}

#dh li a:hover

{

font-size:16px;

font-weight:bold;

color:#FF0000;

text-decoration:underline;

}

这里应该主要css顺序:a:hover应该放在最后

【css 鼠标经过文字变色】相关文章:

CSS:div 实现长英文字母自动换行CSS

css实现鼠标滑过改变文字(中文变英文)

css样式命名规范

鼠标移入移出改变CSS样式的小例子

CSS+DIV实现鼠标经过背景变色

css实现文字层浮在图片之上示例代码

css怎样使div层水平

css代码格式化清理工具

网页div css是文字补白速记

css样式做细线表格

精品推荐
分类导航