I have this JSF page with a css file that works fine, however, when i add the form tag css does not apply to the jsf. could someone help me?
<f:view contentType="text/html">
<h:head>
<h:outputStylesheet library="css" name="LoginCss.css" />
</h:head>
<h:body>
<h:form id="loginForm">
<p:outputLabel id="usernameLabel" value="User name: " />
<p:inputText id="usernameInput" value=""/> <br/> <br/>
<p:outputLabel id="passwordLabel" value="Password: " />
<p:inputText id="passwordInput" value=""/> <br/> <br/>
</h:form>
</h:body>
</f:view>
#usernameInput { border: 10px solid red; }