Indented paragraphs – Ericsson R380 User Manual

Page 12

Advertising
background image

10

Indented Paragraphs

Related text and other components can be grouped together to increase usability. Such groups
can be nested.

Each group is indented 20 additional pixels and preceded by an extra line space of 3 pixels.

A header in bold font can optionally precede a group. In such a case a so-called hanging indent
applies.

WML

The beginning of a group is defined by using the

fieldset

element.

Attribute

Description

title

The value of the

title

attribute, if present, will be used

as a leading text to the group of text and objects. The text
following the title will be located on a new line.

A

fieldset

example

The example below shows how the use of

fieldset

elements affects the card content

appearance.

<card id="pizzainfo" title="What's On">

<p>

<fieldset title="Cappriciosa">

Mozzarella, tomato sauce, prosciutto, olives, artichokes

and mushrooms

</fieldset>

<fieldset title="Quatro Staggioni">

Tomato, mozzarella, ham, artichokes and mushrooms

</fieldset>

<fieldset title="Margherita">

Fresh tomatoes, fresh mozzarella &amp; basil

</fieldset>

.

.

.

.

</p>

</card>

</wml>

Advertising