You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Yuri Ivanov <yi...@bossdev.com.ua> on 2006/12/18 15:14:54 UTC

[Tobago] layout question

Hello, 

I have simple layout task. I need to make a login dialog box in the center
of the browser screen.  The problem that initial size of the page I need to
set in px, and it's not good.

I have tried to set page width and height to 100%, but it doesn't work. 

  <tc:page width="100%" height="100%">

  <!-- width="1000px" height="700px" -->

    <f:facet name="layout">

      <tc:gridLayout rows="30%;fixed;30%" columns="30%;*;30%"  />

    </f:facet>

      <tc:cell spanX="1" spanY="2"/>

.

 

What is the best solution of this simple layout task?

 

 

Thanks,

Yuri Ivanov.