aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/htmlelement
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/htmlelement')
-rw-r--r--files/ru/web/api/htmlelement/offsetleft/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/ru/web/api/htmlelement/offsetleft/index.html b/files/ru/web/api/htmlelement/offsetleft/index.html
index aace6b67d7..ec44a76d10 100644
--- a/files/ru/web/api/htmlelement/offsetleft/index.html
+++ b/files/ru/web/api/htmlelement/offsetleft/index.html
@@ -13,14 +13,14 @@ translation_of: Web/API/HTMLElement/offsetLeft
<h2 id="Syntax">Syntax</h2>
-<pre class="eval notranslate"><var>left</var> = <var>element</var>.offsetLeft;
+<pre class="eval"><var>left</var> = <var>element</var>.offsetLeft;
</pre>
<p><code><var>left</var></code> is an integer representing the offset to the left in pixels <em>from the closest relatively positioned</em> parent element.</p>
<h2 id="Example">Example</h2>
-<pre class="brush: js notranslate">var colorTable = document.getElementById("t1");
+<pre class="brush: js">var colorTable = document.getElementById("t1");
var tOLeft = colorTable.offsetLeft;
if (tOLeft &gt; 5) {
@@ -32,7 +32,7 @@ if (tOLeft &gt; 5) {
<p><img alt="Image:offsetLeft.jpg" class="internal" src="/@api/deki/files/790/=OffsetLeft.jpg"></p>
-<pre class="brush: html notranslate">&lt;div style="width: 300px; border-color:blue; border-style:solid; border-width:1;"&gt;
+<pre class="brush: html">&lt;div style="width: 300px; border-color:blue; border-style:solid; border-width:1;"&gt;
&lt;span&gt;Short span. &lt;/span&gt;
&lt;span id="longspan"&gt;Long span that wraps within this div.&lt;/span&gt;
&lt;/div&gt;