【发布时间】:2016-12-09 13:48:21
【问题描述】:
我有以下代码
.textareaclasswide{ border:solid 1px #7f9db9; width:460px; height:150px;
font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;overflow-x:auto;
}
</f:verbatim>
<h:selectManyListbox id="availableProducts" value="#{addSubscriptionsBean.selAvailableProducts}" styleClass="textareaclasswide">
<s:selectItems value="#{addSubscriptionsBean.availableProducts}"var="product" itemLabel="#{product.productDisplayName}" itemValue="#{product.productCode}" />
</h:selectManyListbox>
<f:verbatim>
我正在使用 selectManyListbox ,垂直滚动条工作正常,但如果我在 css 中包含溢出-x 用于水平滚动条,它在 chrome 中工作但在 IE/FIREFOX 中不工作
请帮忙
【问题讨论】:
-
您需要包含足够的代码才能在此处重现您的问题。仅仅一个类的 CSS 是不够的。
标签: html css overflow selectmanylistbox