日期:2014-05-17  浏览次数:20758 次

linkbutton的显示问题
我设置linkbutton的enable属性为false,结果里面的字体会变大。怎么回事?
------最佳解决方案--------------------
应该是你的样式文件影响的吧
------其他解决方案--------------------
你单独建一个页面不引用任何样式文件试下还有这效果吗?

------其他解决方案--------------------
那就可以确定是你添加的样式表里面的样式引起的了
------其他解决方案--------------------
.linkbtn1:link{    font-size: 12px;    color:  White;    text-decoration: none;    font-weight:bold;}
这里的字体加粗去掉看下
------其他解决方案--------------------
有木有人啊。。有碰到过相同问题的吗?
------其他解决方案--------------------

.linkbtn1:link
{
font-size: 12px;
color:  White;
text-decoration: none;
font-weight:bold;
}
.linkbtn1:visited
{
font-size: 12px;
color:  White;
text-decoration: none;
}
.linkbtn1:hover
{
font-size: 12px;
color: #FF0000;
text-decoration: underline;
}
.linkbtn1:active
{
font-size: 12px;
color: #FF0000;
text-decoration: none;
}

这是css  大家帮忙看下  
------其他解决方案--------------------
引用:
你单独建一个页面不引用任何样式文件试下还有这效果吗?


单独的话就不会了。
------其他解决方案--------------------
不过我觉得可能不是这里的事,应该还有其他样式影响它
------其他解决方案--------------------
我发现是enable属性的问题。设置为不可用了。它的样式就没了。恢复默认了的了。。。