2012-06-04 107 views
0

我有相关的丰富的问题​​:组合框间距问题:组合框

<rich:comboBox id="colorBox" value="#{formInputBean.color}"> 
           <f:selectItem itemValue="Red" /> 
           <f:selectItem itemValue="White" /> 
           <f:selectItem itemValue="Blue" /> 
           <f:selectItem itemValue="green" /> 
           <f:selectItem itemValue="black" /> 
           <f:selectItem itemValue="pink" /> 
          </rich:comboBox> 

这是我的组合框的代码。但是这显示了Combobox字段和comboBox放置按钮之间的空白区域。 下面是示例:enter image description here

请指引我,该如何解决呢

感谢

+0

您是否尝试过使用萤火虫检查组合框的CSS样式?您是否尝试过使用''组件或'',它在richfaces 4中提供了旧的的功能? – gaffcz

回答

1

这个问题纯粹是DOCTYPE有关。如果页面在Quirks模式下运行,则会产生此问题。