aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/cssstyledeclaration/csstext/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/cssstyledeclaration/csstext/index.html')
-rw-r--r--files/fr/web/api/cssstyledeclaration/csstext/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/files/fr/web/api/cssstyledeclaration/csstext/index.html b/files/fr/web/api/cssstyledeclaration/csstext/index.html
index 509fcc5969..e8b9d228ae 100644
--- a/files/fr/web/api/cssstyledeclaration/csstext/index.html
+++ b/files/fr/web/api/cssstyledeclaration/csstext/index.html
@@ -7,16 +7,14 @@ translation_of: Web/API/CSSStyleDeclaration/cssText
<div>{{APIRef("CSSOM") }}</div>
-<h2 id="Summary" name="Summary">Résumé</h2>
+<p><strong>cssText</strong> retourne ou définit seulement le texte de la déclaration de style <strong>inline</strong> de l'élément. Pour pouvoir définir dynamiquement une règle d'une <strong>stylesheet</strong>, voir <a href="/fr-FR/docs/DOM/Using_dynamic_styling_information">Utilisation d'informations de mise en forme dynamiques.</a></p>
-<p><strong>cssText</strong> retourne ou définit seulement le texte de la déclaration de style <strong>inline</strong> de l'élément. Pour pouvoir définir dynamiquement une règle d'une <strong>stylesheet</strong>, voir <a href="/fr-FR/docs/DOM/Using_dynamic_styling_information" title="DOM/Using_dynamic_styling_information">Utilisation d'informations de mise en forme dynamiques.</a></p>
-
-<h2 id="Syntax" name="Syntax">Syntaxe</h2>
+<h2 id="Syntax">Syntaxe</h2>
<pre class="brush: js"><em>chaine</em> = elem.style.cssText
</pre>
-<h2 id="Example" name="Example">Exemple</h2>
+<h2 id="Example">Exemple</h2>
<pre class="brush: html"><code>&lt;span id="s1" style="</code>color: red;"<code>&gt;
Du texte
@@ -28,7 +26,7 @@ Du texte
&lt;/script&gt;
</pre>
-<h2 id="Specification" name="Specification">Spécification</h2>
+<h2 id="Specification">Spécification</h2>
<ul>
<li><a href="http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration">DOM Level 2 Style CSS - Interface CSSStyleDeclaration (introduced in DOM Level 2)</a></li>