如何更改我的GWT列表框样式 [英] how to change my GWT listbox style
本文介绍了如何更改我的GWT列表框样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改我的GWT默认列表框的样式。
How can i change the style of my GWT default list box . in a way that every list box in my application will change .
这个工作不应该吗?
.gwt-ListBox{
color: red !important;
}
>
推荐答案
............................ ......................
..................................................
您好,请立即写入
body .gwt-ListBox{
color: green !important;
}
.gwt-ListBox{
color: red !important;
}
第二是
Second is
定义 body id
如下
html b
<body id="someid">
<div class="gwt-ListBox">
some text
</div>
</body>
Css
#someid .gwt-ListBox{
color:green !important;
}
这篇关于如何更改我的GWT列表框样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文