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;
}