Galera tenho um simples formulário feito em JSF e quero alinhar ele no centro mais não consigo alguem pode ajudar
pesquisei e encontrei tópicos no qual tem que usar css tb e isso mesmo ?
o problema e que estou começando a usar JSF agora.
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<html
<head>
<title>Login</title>
</head>
<body>
<f:view>
<h:form>
<h:panelGrid columns="2" >
<h:outputLabel value="Login" for="login" />
<h:inputText id="login" value="#{agenda.Login}" />
<h:outputLabel value="Senha" for="senha" />
<h:inputSecret id="password" value="#{agenda.Senha}" />
</h:panelGrid>
<h:commandButton value="Login" action="#{agenda.validateLogin}" />
</h:form>
</f:view>
</body>
</html>