When placing a Primefaces SelectOneMenu next to a Primefaces Input, I noticed that they do not align at the same height in the browser across different browsers such as Firefox, IE and Chrome:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head />
<h:body>
<p:selectOneMenu>
<f:selectItem itemLabel="Item1" />
</p:selectOneMenu>
<p:inputText value="Text" />
</h:body>
</html>
Is there a way (using CSS) to position these two inputs next to each other so they appear on the same line at the same vertical position?
(This is with Primfaces 5.1.)