首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

高分:asp.net怎么设置按钮为象speedbutton的样式

2012-01-28 
高分:asp.net如何设置按钮为象speedbutton的样式?asp.net如何设置按钮为象speedbutton的样式?也就是说鼠标

高分:asp.net如何设置按钮为象speedbutton的样式?
asp.net如何设置按钮为象speedbutton的样式?
也就是说鼠标没有移动到它上面,它是平的,鼠标移上去后,它有一个外框框!!!


[解决办法]
btn.Attributes.Add( "onmousemove ", "this.className=放上来的样式 ");
btn.Attributes.Add( "onmouseout ", "this.className=移开的样式 ");

[解决办法]
用 css 模似,很简单
[解决办法]
<!--

.noBorder{
border-top:0 solid #E1E5F5;
border-left:0 solid #E1E5F5;
border-right:0 solid #488462;
border-bottom:0 solid #488462;
}

.Border{
border-top:1px solid #E1E5F5;
border-left:1px solid #E1E5F5;
border-right:1px solid #488462;
border-bottom:1px solid #488462;
}
.t{
border-top:0 solid #E1E5F5;
border-left:0 solid #E1E5F5;
border-right:0 solid #488462;
border-bottom:0 solid #488462;

star : expression(onmouseout=function(){this.className= "noBorder "},
onmouseover=function(){this.className= 'Border '});}

-->
</style>

button 的class= "t "

热点排行