Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Button xtype中使用href config更改按钮的css。我应该如何修复它?_Css_Extjs4 - Fatal编程技术网

在Button xtype中使用href config更改按钮的css。我应该如何修复它?

在Button xtype中使用href config更改按钮的css。我应该如何修复它?,css,extjs4,Css,Extjs4,我正在使用按钮X类型,其中我有href config打开另一个链接。但是使用href更改我的按钮样式..因为我认为由于使用href config样式而发生了更改..这是我的X类型..ExtJS4 { xtype:'button', text:'Start', style:'margin-

我正在使用按钮X类型,其中我有href config打开另一个链接。但是使用href更改我的按钮样式..因为我认为由于使用href config样式而发生了更改..这是我的X类型..ExtJS4

                      {
                            xtype:'button',
                            text:'Start',
                            style:'margin-left:150px;',
                            cls:'userAccountButtonCls',                             
                            href:'http://localhost/zipyap/',                                                             
                       }
使用

希望能有所帮助

Handler:function(){
window.location.assign("http://localhost/zipyap/");
}
instead of href