<html>
<link rel="stylesheet" href="josh.css">
<body bgcolor="#FFFFFF">

		<div id="Beschreibung">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">text-decoration</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">4</span> IE <span class="emphasis">4</span> CSS <span class="emphasis">1</span></td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal"></p>
					</td><td valign="top" nowrap class="requirements">Vererbt: Nein</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Definiert f&uuml;r Textinhalte des Elements zus&auml;tzliche Eigenschaften wie Unterstreichen, Durchstreichen, &Uuml;berstreichen und (bei Navigator und CSS) Blinken. Sie k&ouml;nnen mehrere Dekorationsstile definieren, indem Sie mehrere Werte in einer durch Leerzeichen getrennten Liste angeben. Die Einstellung <span class="literal">blink</span> wird von allen Mainstream-Browsern ignoriert. Bei Navigator 4 wird der Wert <span class="literal">overline</span> nicht erkannt.
</p><p>Bei diesem Attribut besteht eine ungew&ouml;hnliche Beziehung zwischen &uuml;bergeordneten und untergeordneten Elementen. Die Werte werden nicht vererbt, doch der Textstil &uuml;bertr&auml;gt sich auf die verschachtelten Elemente. Daher wird beispielsweise bei einem unterstrichenen <span class="literal">p</span>-Element auch ein verschachteltes <span class="literal">span</span>-Element unterstrichen, falls diese Einstellung nicht auf andere Weise aufgehoben wird.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="csssyntax"><span class="title">CSS-Syntax</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>text-decoration: <span class="replaceable">decorationStyle</span> | none</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Wert</span></td>
				</tr>
				<tr>
					<td><p>Neben <span class="literal">none</span> auch folgende vier Konstanten: <span class="literal">blink</span> | <span class="literal">line-through</span> | <span class="literal">overline</span> | <span class="literal">underline</span>; <span class="literal">blink</span> wird von Browsern in der Regel ignoriert.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="initvalue"><span class="title">Anfangswert</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">none</span></p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Beispiel</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>div.highlight {text-decoration: underline}</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="appliesto"><span class="title">Gilt f&uuml;r</span></td>
				</tr>
				<tr>
					<td><p>Alle Elemente.</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Objektmodellreferenz</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&#160;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.getElementById("<span class="replaceable">elementID</span>").style.textDecoration
[window.]document.getElementById("<span class="replaceable">elementID</span>").style.textDecorationBlink
[window.]document.getElementById("<span class="replaceable">elementID</span>").style.textDecorationLineThrough
[window.]document.getElementById("<span class="replaceable">elementID</span>").style.textDecorationNone
[window.]document.getElementById("<span class="replaceable">elementID</span>").style.textDecorationOverLine
[window.]document.getElementById("<span class="replaceable">elementID</span>").style.textDecorationUnderline</pre>
						</span></td>
				</tr>
			</table>
		</div>
</body>
</html>