Text items of SelectOneMenu are displaying at bottom, I tried changing CSS vertical-align and padding-bottom, nothing happends.
As seen here:
How can I solve it? Appreciate yor help.
SelectOneMenu vertical misalignment
Start by doing what the 'posting rules' state: post code. In MCVE format http://stackoverflow.com/help/mcve (and post version info)
This is the code:
Code: Select all
<p:selectOneMenu id="tipoDocumento"
value="#{registroIdentidadController.datosRegistroTemporal.tipoDocumentoIdentidadId}"
styleClass="form-control select2" required="true"
validateClient="true" requiredMessage="Campo Requerido">
<f:selectItem itemValue="#{null}" itemLabel="SELECCIONE"
noSelectionOption="true" />
<f:selectItems
value="#{clasificadorController.CargarDatos('tipo_documento_identidad_id')}"
var="c" itemLabel="#{c.descripcion}"
itemValue="#{c.clasificadorId}" />
<p:clientValidator event="change" />
</p:selectOneMenu>
I dit it.. same problem
I´m tried this CSS :
Other things like color change works fine, but about alignment nothing changed..
I´m tried this CSS :
Code: Select all
...
display: inline-block;
vertical-align: middle !important;
position: relative;
background-color: aliceblue;
...
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests