As you see in the image below:
I want these components to be horizontally aligned correctly.
i tried the follwoing but no avail:
...
<p:outputLabel value="Etat d'examen : " for="state"/>
<p:selectOneMenu id="state"
value="#{examenListBean.stateOption}"
style="width: 120px;" >
<p:ajax listener="#{examenListBean.fetch}" update="tabexam"/>
<f:selectItems value="#{examenListBean.etatExamOptions}"/>
</p:selectOneMenu>
...
Use vertical-align:middle;
for them to align properly.
For Instance, as per your code,
style="width: 120px; vertical-align:middle;"
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With