It is very simple, we will use three styles table, table-row, and table-cell. Let us suppose that we have the following ADF faces code
<af:panelGroupLayout>
<!-- some controls goes here -->
</af:panelGroupLayout>
<af:panelGroupLayout>
<!-- some controls goes here -->
</af:panelGroupLayout>
</af:panelGroupLayout>
We need to convert it to a table with two rows and on column, so it will be
<af:panelGroupLayout inlineStyle="display:table;">
<af:panelGroupLayout inlineStyle="display:table-row;">
<af:panelGroupLayout inlineStyle="display:table-cell;">
<!-- some controls goes g -->
</af:panelGroupLayout>
</af:panelGroupLayout>
<af:panelGroupLayout inlineStyle="display:table-row;">
<af:panelGroupLayout inlineStyle="display:table-cell;">
<!-- some controls goes g -->
</af:panelGroupLayout>
</af:panelGroupLayout>
</af:panelGroupLayout>
Note if you used layout property for panelGroupLayout with value equal to Horizontal, it will be converted to able but you will not have full control over it where
Subscribe to:
Post Comments (Atom)
1 comment:
Word of warning.. I Think those CSS tags will not work with IE7..
Also for me.. panelgroup does generates tables if vertical / horizontal is defined and more than 1 containing tag if within the panelgroup ;)
Post a Comment