1

I am getting a large text in selectItem so i gave the legnth as fixed size for selectOneMenu, So when i see the selectItems it will be full text in Chrome browser, But it is getting wrapped in IE, Please help on this

Chrome

enter image description here

My Code sample is

<m:td >

    <h:outputLabel id="PGMADMOLL960" 
                   for="newapcstatusPrc"                                    
                   value="#{msg['label.proc.apcStatus']}" />
    <m:br></m:br>
    <h:selectOneMenu id="newapcstatusPrc" 
                     style="width:150px"                            
                     value="#{ProcedureCodePricingDataBean.procedureCodePricingVO.apcStatusCode}">
        <f:selectItem itemValue="" 
                      itemLabel="" />
        <f:selectItems value="#{ProcedureCodePricingDataBean.apcStatusCodeList}" />
    </h:selectOneMenu>
    <m:br />
    <h:message id="PGMADMM659" 
               for="newapcstatusPrc" 
               styleClass="colorRed" />
    <m:br />
</m:td>
wittakarn
  • 3,124
  • 1
  • 18
  • 31
Siva
  • 1,938
  • 1
  • 17
  • 36

1 Answers1

0

There a question with the same topic, already answered here:

Select dropdown with fixed width cutting off content in IE

I would suggest this fix: http://css-tricks.com/select-cuts-off-options-in-ie-fix/

Community
  • 1
  • 1
mish
  • 1,055
  • 10
  • 29