Appearance
Text Formattings
These are the formattings you can do:
- display
-
Kind of display. Supported values:
- block
-
Element will be displayed as block, e. g.
p { display: block; }
for the regular paragraph <p>...</p>.
- inline
-
Displayed as inline, e. g.
a { display: inline; }
for the anchor element <a>...</a>
- none
-
(Experimental) non-displaying. Nested tags are never hidden.
- white-space
-
Handling of white space. Supported Values:
- pre
-
formatted, e. g.
pre { white-space:pre; }
for <pre>
- font-family
-
Supported values:
- Helvetica
-
- Sans-Serif
-
Helvetica
- Times
-
- Serif
-
Times
- Courier
-
- Monospaced
-
Courier
- font-size
-
Supported format: number without unit. Defaults to 10. Example:
big { font-size:12; }
for <big>groß</big>
- color
-
Supported format: hex number, e. g.
a { color: #0000ff; }
for <a>hyperlinks</a>
- bgcolor
-
Background color. Supported format: hex number, e. g.
h1 { bgcolor: #007f00; }
for <h1> headlines on green </h1>
- font-style
-
Supported values:
- oblique
-
Example:
em { font-style:oblique; }
for <em>emphasised text</em>
- font-weight
-
Supported values:
- bold
-
Example:
strong { font-weight:bold; }
for <strong>strongly emphasised text</strong>
- text-decoration
-
Supported values:
- underline
-
Example:
ins { text-docoration: underline; }
for <ins>insertion element</ins>
- line-through
-
Example:
del { text-docoration: line-through; }
for <del>deletion element</del>
- position
-
Supported values:
- relative
-
Effective in combination with
bottom
or top
.
- bottom
-
Effective in combination with
position: relative;
Supported format: number without unit
Example: sup { position: relative; margin-bottom: 3; }
for <sup>superscripted</sup> text
- top
-
Effective in combination with
position: relative;
Supported format: number without unit.
Example sub { position: relative; margin-top: 3; }
for <sub>subscripted</sub> text
MTE © Wolf Busch 2000-2001 - letzter Stand 30.06.2001