当前位置: 代码迷 >> Web前端 >> 解决设立rich:select的宽度
  详细解决方案

解决设立rich:select的宽度

热度:417   发布时间:2013-12-17 12:06:34.0
解决设置rich:select的宽度

1.???????? 解决设置rich:select的宽度

.rf-select-small-width input[type="text"] {

??? width: 100px;

??? font-size: 11px;

}

再加上rf-select-small-width样式

<rich:select styleClass="rf-select-small-width" listWidth="100">

???????? <f:selectItem itemValue="0" itemLabel="Option 1" />

???????? <f:selectItem itemValue="1" itemLabel="Option 2" />

???????? <f:selectItem itemValue="2" itemLabel="Option 3" />

???????? <f:selectItem itemValue="3" itemLabel="Option 4" />

???????? <f:selectItem itemValue="4" itemLabel="Option 5" />

???? </rich:select>

  相关解决方案