我使用簡單的h:panelGrid
來顯示錶格如何指定表格的樣式以使其更好。我有點糊塗了所有我在網上看了 的東西,這是什麼,我一直在使用如何在jsf中爲h:panelgrid指定樣式
<h:panelGrid id="panel" columns="2" cellpadding="10"
cellspacing="1" style="align:center;">
<f:facet name="header">
<h:outputText value="Registration" />
</f:facet>
<h:outputText value="User Name:" escape="false" />
<h:inputText value="Hello World" />
<h:outputText value="Password:" escape="false" />
<h:inputSecret value="" />
</h:panelGrid>
你能請註明opssible optons列表指定的CSS或內嵌樣式在JSF元素的代碼 在此先感謝
可能重複http://stackoverflow.com/questions/3714143/how-to-align-items-in-a-hpanelgrid-to-the-right) – Kukeltje
請撤銷編輯你的問題。它改變了很多。創建一個新的問題,但更好的是,使用谷歌 – Kukeltje