4.6 :: Cells

Description


Cells are placed inside rows, this allows you to line up elements side by side on your page

Quick Example


..snip..
  1.   <row>
  2.   <cell>
  3.   <chars>
  4.   <value>Hello world!</value>
  5.   </chars>
  6.   </cell>
  7.   </row>
..snip..

Attributes


pad_out


Instructs a cell to expand to accomodate any other rows within the layout that have more cells.

Options: 0, 1

Example:

<cell pad_out="1">

pad_down


Tells a cell to span downwards across a number of following rows.

Example:

<cell pad_down="2">

id


Specify an id for your cell so that you can use a style sheet to change the way it looks.

Example:

<cell id="myCellId">

class


Specify a class for your cell so that you can use a style sheet to change the way it looks.

Example:

<cell class="myCellClass">

Detailed Example


..snip..
  1.   <layout>
  2.   <row>
  3.   <cell id="myCellId" class="myCellClass" pad_out="1" pad_down="2">
  4.   <chars>
  5.   <value>Hello world!</value>
  6.   </chars>
  7.   </cell>
  8.   </row>
  9.   </layout>
..snip..

Contents