我想为我的 h:selectManyListbox 设置边框颜色和滚动条颜色为红色
<h:selectManyListbox id="abc" style="">
</h:selectManyListbox>
最佳答案
经过一些搜索,scrollbar-base-color
仅适用于 Internet Explorer,您需要一些用于 FireFox 和 Chrome 的 JavaScript...
这里是关于这样做的信息:Custom ScrollBar
至于边框,你可以简单地使用它:
<h:selectManyListbox id="abc" style="border: 1px solid red;">
</h:selectManyListbox>
或
CSS:
.customSelect
{
border: 1px solid red;
}
JSF:
<h:selectManyListbox id="abc" styleClass="customSelect">
</h:selectManyListbox>
或者当然是一个简单的选择器:
select
{
border: 1px solid red;
}
关于html - 如何为h :selectManyListbox设置边框和滚动条颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16702028/