Erscheinungsbild
Textauszeichnungen
Diese Textauszeichnungen können Sie einstellen:
- display
-
Darstellungsart. Unterstützte Werte:
- block
-
Element wird als Absatz dargestellt, z. B.
p { display: block; }
für das normale Absatz-Element <p>...</p>.
- inline
-
Element innerhalb der Zeile, z. B.
a { display: inline; }
für das Anker-Element <a>...</a>
- none
-
Experimentell: Nutztext wird unterdrückt. Tags werden nicht unterdrückt. Denkbarer Anwendungsfall wäre
del {
display: none; }
für das Element für Löschungen <del>...</del>
- white-space
-
Beibehaltung von Leerzeichen im Arbeitsfenster.
Unterstützte Werte:
- pre
-
formatierter Absatz, z. B.
pre { white-space: pre; }
für <pre>
- font-family
-
Schriftfamilie.
Unterstützte Schriften:
- Helvetica
-
- Sans-Serif
-
Helvetica
- Times
-
- Serif
-
Times
- Courier
-
- Monospaced
-
Courier
- font-size
-
Schriftgröße. Unterstützes Format: Zahl ohne Maßeinheit. Default-Wert ist 10. Beispiel:
big {
font-size: 12; }
für <big>groß</big>
- color
-
Farbangabe. Unterstütztes Format: Hex-Zahl, z. B.
a { color: #0000ff; }
für <a>Hyperlinks</a>
- bgcolor
-
Hintergrund-Farbangabe. Unterstütztes Format: Hex-Zahl, z. B.
h1 { bgcolor: #007f00; }
für <h1> grün hinterlegte Überschriften </h1>
- font-style
-
Schrift-Stil.
Unterstützte Werte:
- oblique
-
Kursiv. Beispiel:
em { font-style: oblique; }
für <em>hervorgehobenen Text</em>
- font-weight
-
Schrift-Gewicht. Unterstützte Werte:
- bold
-
fett. Beispiel:
strong { font-weight: bold; }
für <strong>stark hervorgehobenen Text</strong>
- text-decoration
-
Text-Verzierung. Mögliche Werte:
- underline
-
Unterstrichen. Beispiel:
ins { text-docoration: underline; }
für das <ins>Einfügungs-Element</ins>
- line-through
-
Durchgestrichen. Beispiel:
del { text-docoration: line-through; }
für das <del>Löschungs-Element</del>
- position
-
Anordnung. Unterstützte Werte:
- relative
-
Textversatz. Wirksam zusammen mit
bottom
oder top
.
- bottom
-
Versatz nach oben. Wirksam zusammen mit
position: relative;
Unterstütztes Format: Zahl ohne Maßeinheit
Beispiel: sup { position: relative; margin-bottom: 3; }
für <sup>hoch</sup> gestellten Text
- top
-
Versatz nach unten. Wirksam zusammen mit
position: relative;
Unterstütztes Format: Zahl ohne Maßeinheit.
Beispiel: sub { position: relative; margin-top: 3; }
für <sub>tief</sub> gestellten Text
MTE © Wolf Busch 2000-2001 - letzter Stand 04.08.2001