How I should set my webpage to display info in the center of the browser ?

I would like to find out how I can set my pages in my project....to display everything......info+components......centered in the browsers ? I know how to configure one component to display in the middle.......but....all the info ? How can I organize all my components......in orther to configure just one thing to display in the middle my browser display. Please help me. Thank you !

[390 byte] By [ALFa] at [2007-11-27 5:26:20]
# 1
Hi!Try to use "Group Panel" from "Layout" section of Palette, place components inside "Group Panel" and then center "Group Panel".Thanks,Roman.
-Grif-a at 2007-7-12 14:47:10 > top of Java-index,Development Tools,Java Tools...
# 2

Put everything on you page inside of layout panel,

and after in JSP file type the following:

Before <ui:panelLayout

><table border="0" width="100%">

<tr>

<td width="%"></td>

<td width="700">

And after </ui:panelLayout>

</td>

<td width="%"></td>

</tr>

</table>

AlexXXXa at 2007-7-12 14:47:10 > top of Java-index,Development Tools,Java Tools...
# 3

I did it. It doesn't change. I tried using layout panel, group panel...but no results. Only if I drag and drop a Tab Set, I can set it to display in the center. But I need to use many components and also a Tab Set. What I should do to make that layout panel display in the middle of the screen.....always...doesn't matter if I resize the window.....Any solutions ?

ALFa at 2007-7-12 14:47:10 > top of Java-index,Development Tools,Java Tools...
# 4
the standard html trick is to put everything in a div, set the style for the div to { position:absolute; left:50%; left-margin:-400px; } assuming you want a window width of 400x2=800px.
howlingmadhowiea at 2007-7-12 14:47:10 > top of Java-index,Development Tools,Java Tools...