Fieldset, Tables – Nokia 9110i User Manual

Page 16

Advertising
background image

16 (26)

5.1.5 Fieldset

The

<fieldset>

-element can be used for grouping elements. It implies a paragraph break between

the elements, and the title of the element is used as the active element’s title if it has no title of its

own. Note that fieldset title is not supported for text ie. text in a card can not be titled by using
fieldset element.

5.1.6 Tables

The table element

<table>,

and its content

<tr>

and

<td

> is used to create columns and rows of

text and images in a card. Table elements do not specify column or intercolumn widths, the width of
the column is same as the width of the widest cell in the column. If the cell content is too long to be
displayed in one row, the text is automatically word wrapped to required amount of rows to fit the cell.
The table may also contain links, they are focused from left to right and from top to bottom order
when scrolling down with arrow keys. Images and other elements can be placed inside a table and the

maximum columns of a table is 10. All exceeding columns cell contents are alltogether rendered in the
last column of table.

Table attributes:

columns

specifies the number of columns for the row set

align

alignment of the cell content. Possible values are left, right and center. Left alignment is
the default mode.

Example 3 Table element (see example 2 for table element as well).

<wml>
<card id="card1" title="Weather Forecast">

<p>
<table columns="4" align="LCCL">

<tr>
<td><a title="link to week/year" href="#date">Date</a></td>

<td>F&apos;cast</td><td>T&#xB0;C</td>
<td>Description</td>
</tr>
<tr>
<td>M 6/7</td><td><img src="rainy.wbmp" alt="rain"/></td>
<td>Hi 20&#xB0;C, Lo 13&#xB0;C</td><td>Rainy</td>
</tr>
<tr>
<td>T 6/8</td><td><img src="partcldy.wbmp" alt="part cldy"/></td>
<td>Hi 25&#xB0;C, Lo 15&#xB0;C</td><td>Partly cloudy</td>
</tr>
<tr>

Advertising