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

		<div id="Description">
			<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">H&eacute;rit&eacute;: non</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>D&eacute;finit les enrichissements &agrave;appliquer au contenu d'un &eacute;l&eacute;ment (soulign&eacute;, barr&eacute;, barre sup&eacute;rieure et (dans Navigator et CSS) clignotement). Vous pouvez sp&eacute;cifier plusieurs styles d'enrichissement, en les s&eacute;parant par des espaces. Heureusement, les navigateurs standard ignorent le param&egrave;tre <span class="literal">blink</span>. Navigator 4 ne reconna&icirc;t pas la valeur <span class="literal">overline</span>.
</p><p>Les enrichissements de texte ont une relation parent/enfant inhabituelle. Les valeurs ne sont pas h&eacute;rit&eacute;es, mais un enrichissement appliqu&eacute; &agrave;un &eacute;l&eacute;ment est &eacute;galement appliqu&eacute; &agrave;ses &eacute;l&eacute;ments imbriqu&eacute;s. Par cons&eacute;quent, &agrave;moins d'annuler cette fonction par un autre moyen, si un &eacute;l&eacute;ment <span class="literal">p</span> est soulign&eacute;, par exemple, l'&eacute;l&eacute;ment <span class="literal">span</span> imbriqu&eacute; dans ce dernier l'est &eacute;galement.
</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">Syntaxe CSS</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">Valeur</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">none</span> et les quatre constantes suivantes: <span class="literal">blink</span> | <span class="literal">line-through</span> | <span class="literal">overline</span> | <span class="literal">underline</span>, ,mais les navigateurs ignorent souvent <span class="literal">blink</span>.
</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">Valeur initiale</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">Exemple</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">S'applique &agrave;</span></td>
				</tr>
				<tr>
					<td><p>Tous les &eacute;l&eacute;ments.</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">R&eacute;f&eacute;rence de mod&egrave;le d'objet</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>