SourceForge Logo

 

News


About


Features


Press


Download


Docs
 - Wiki
 - Installation
 - Upgrading
 - Media
 - Readme
 - Privacy
 - Developers


Support


Edit Online


Contributing


 
 How to create a uniform table layout for PGV

CSS classes used:

  • topbottombar
    Sets the layout for the top and bottom bar of the table
  • subbar
    Sets the layout for sub bars
  • descriptionbox
    Sets the layout for the box where the descriptive text of the option is
  • optionbox
    Sets the layout for the box where the user can change the option
  • wrap
    Wrap text to the size of the box
  • width20
    Sets the width at 20%
  • vmiddle
    Align text vertically in the middle
Table layout:

Table Setup
How to wrap text?

To wrap text, simply add the wrap class.

  <td class="descriptionbox wrap">

How to align text?

To align text you can use the ltr and rtl classes.

  <td class="optionbox wrap ltr">
<td class="optionbox wrap <?php print $TEXT_DIRECTION;?>">

What width is used for the descriptionbox?

The width is set at 20% and can be set by using the width20 class.

  <td class="descriptionbox wrap width20">


Copyright © 2009 PhpGedView Team Members
ADVERTISEMENT