次のように、ある panelGrid を別の panelGrid に含めようとしています。
<h:panelGrid id="A" border="1" columns="1" style="width: 100%; text-align:center; display: table">
<h:panelGrid id="B" border="1" columns="3">
<h:outputText value="Name : "></h:outputText>
<h:inputText></h:inputText>
<h:commandButton value="Add"></h:commandButton>
</h:panelGrid>
</h:panelGrid>
次のようなhtmlを生成しました:
<table id="j_idt1:A" border="1" style="width: 100%; text-align:center; display: table">
<tbody>
<tr>
<td><table id="j_idt1:B" border="1">
<tbody>
<tr>
<td>Name : </td>
<td><input type="text" name="j_idt1:j_idt3" /></td>
<td><input type="submit" name="j_idt1:j_idt4" value="Add" /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
...問題は、css text-align:center :P にもかかわらず、panelGrid "B" が常に左に揃えられることです。
それが私がEclipse Webエディターに持っているものです:
だから私の質問は、含まれている panelGrid(s)を eclipse wtp css editor で見つける方法ですか?
ありがとう