Various parameters of the hypertext rendering engine whose output is usually displayed by a viewer window can be determined within this dialog. Any changes made and accepted here influence all subsequent renderings immediately. Some values determine the appearance of certain elements and therefore have an effect on layout and accessibility of a page, as described below.
The following parameters can be specified:
The left margin and the width of the outputted text may be specified here. The default is to have no left margin and to use the full width of the output window. The actual width of the window, reduced by the margin, is implicitly added to the specified width if its value is less than or equal to zero.
These two values set the indentation of list items and similar
elements such as <li>
, <dd>
and
<blockquote>
. The minimum value for the left side is
forced to 3
while 0
is sufficient for the right
side. <dd>
elements that are part of a compact definition
list are indented by two additional spaces to leave more room for suitable
<dt>
elements to be positioned in front of the first
line.
left
, right
,
center
, justify
)Defines the default text alignment of text blocks when not otherwise
specified for a hypertext block element. Unfortunately, it does not apply to
the contents of tables, because the default alignment is defined to be
left
there.
yes
, no
)Specifies whether the align
attribute of hypertext block
elements should be honored or not. If disabled, the value of the
Align parameter is always in effect and does also apply to
the contents of tables. The only exception is that the alignment of
<h1>
headings is always respected.
none
, alt
,
link
, all
, xall
)Determines the way inline images should be handled:
none
alt
alt
attribute are displayed,link
alt
attribute and images that are part
of a link are displayed,all
xall
alt
attribute are
displayed.Note that displaying an image means that it is replaced by an
appropriate text representation as w3browse is not able to
really display inline images. Images with an empty alt
attribute
value are not displayed except for "xall
".
none
, text
,
all
)Defines the manner in which non-breaking spaces should be treated:
none
text
all
Note that some authors of web pages make excessive use of non-breaking spaces for layout purposes, so that this parameter may be useful in order to get a reasonable representation of such pages.
none
, h1
,
h1-h2
, h1-h3
, h1-h4
,
h1-h5
, h1-h6
)Determines whether and up to which level heading titles should be
underlined. <h1>
headings are underlined with the
character "*
", <h2>
headings with
"=
", and "-
" is used for all other levels.
yes
, null
,
no
)Determines whether and how horizontal rules (<hr>
elements) should be displayed. An empty line is enforced in their place
between adjoining elements if option "null
" is being selected.
packed
, compact
,
normal
, loose
)This parameter specifies the vertical spacing mode that should be used for the visual separation of text blocks. The following options are available:
packed
compact
normal
" except that compact definition lists are
recognized as such and dealt with accordingly. This is also true for
"packed
". Additionally, an empty line between adjacent rows of a
table that is not in a list-like context is not enforced.normal
loose
normal
" is
that all blocks of text that are not already enclosed in paragraphs are
caused to pretend that they are. This may increase the readability of pages,
but it may also make the text longer (more scrolling necessary).More details about the underlying formatting rules can be found below.
div
, line
,
list
)Determines how the rows of a table should be treated. The following table modes are available:
div
line
list
Using the "list
" mode may be helpful in order to get more
information about the structure of the tables that are contained in a
page.
card
, deck
)This parameter specifies the manner in which WML documents should be displayed. The following display modes are available:
card
deck
When operating in "deck
" mode, the contents of each card is
preceded by its title if available and is terminated by a horizontal rule if
enabled.
Some of the rules that are used by the hypertext rendering engine in order to produce the formatted output of hypertext documents can be described as follows:
Elements that do not provide any content, either because they are empty or contain only white-space, are always removed. This does generally include empty fragment anchors, but in many common cases they can be recovered and transformed to more useful values in the pre-formatting stage.
Text blocks that consist only of white-space and line breaks are always ignored as well as empty blocks are.
Any number of leading and trailing line breaks of text blocks are disregarded in any case and multiple consecutive empty lines within a text block are collapsed into one.
The first line of a text block that immediately follows another text
block without an intervening empty line in the same context is indented by
three spaces, but only if such a text block gets wrapped or is otherwise
being broken across two or more lines. This behavior is enabled in all
vertical spacing modes and is primarily caused to be applied in the
"packed
" mode, but it may also occur in other modes.
A table is linearized by treating it like a list of rows, but
normally without bullets for the list items in this case. The text of all
cells of a row is first concatenated, each separated by a space. Such a line
is then formatted as usual and is finally displayed, normally without extra
indentation. The text of header cells (<th>
elements) is
additionally marked up by special elements, in order to be able to attach a
different color attribute to them. An empty line is
enforced before and after tables in all vertical spacing modes except
"packed
".
When operating in "compact
" mode, each row of a table is
always evaluated in a context in which empty lines are not inserted around
non-paragraph text. In other modes, that context is inherited in the usual
way and determines the effective vertical spacing mode.
Framesets are transformed to nested lists with hyperlinks to the
frames. If a title
attribute is given on such an element, its
value is used as a label for the element, otherwise the value of the
name
attribute is used instead if given. If all fails, a certain
replacement text is finally substituted. The contents of
<noframes>
sections is always rendered.