aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/math/round
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:03:27 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit012ee621791b6895e637f96e6523027951768f25 (patch)
tree29cfacc0d5092af45870dcc74f22feb8b2664fbf /files/zh-cn/web/javascript/reference/global_objects/math/round
parentba91b017421b001cd226135612a7bd5dfcd88904 (diff)
downloadtranslated-content-012ee621791b6895e637f96e6523027951768f25.tar.gz
translated-content-012ee621791b6895e637f96e6523027951768f25.tar.bz2
translated-content-012ee621791b6895e637f96e6523027951768f25.zip
remove inline style for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/math/round')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/math/round/index.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html b/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html
index 6b9b7956ba..409b9dbaa1 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/math/round/index.html
@@ -40,7 +40,7 @@ x = Math.round(-20.5); //-20
x = Math.round(-20.51); //-21
</pre>
-<h3 id="Example:_Decimal_rounding" name="Example:_Decimal_rounding" style="line-height: 24px;">小数舍入</h3>
+<h3 id="Example:_Decimal_rounding" name="Example:_Decimal_rounding">小数舍入</h3>
<pre class="brush: js">// 闭包
(function(){
@@ -126,7 +126,7 @@ Math.ceil10(-59, 1); // -50
round(1.005, 2); //1.01
</pre>
-<h2 id="规范" style="margin-bottom: 20px; line-height: 30px;">规范</h2>
+<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>
@@ -153,7 +153,7 @@ round(1.005, 2); //1.01
</tbody>
</table>
-<h2 id="浏览器兼容性" style="margin-bottom: 20px; line-height: 30px;">浏览器兼容性</h2>
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
<div>{{CompatibilityTable}}</div>
@@ -161,12 +161,12 @@ round(1.005, 2); //1.01
<table class="compat-table">
<tbody>
<tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Chrome</th>
- <th style="line-height: 16px;">Firefox (Gecko)</th>
- <th style="line-height: 16px;">Internet Explorer</th>
- <th style="line-height: 16px;">Opera</th>
- <th style="line-height: 16px;">Safari (WebKit)</th>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
</tr>
<tr>
<td>Basic support</td>
@@ -184,12 +184,12 @@ round(1.005, 2); //1.01
<table class="compat-table">
<tbody>
<tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Android</th>
- <th style="line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="line-height: 16px;">IE Phone</th>
- <th style="line-height: 16px;">Opera Mobile</th>
- <th style="line-height: 16px;">Safari Mobile</th>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
</tr>
<tr>
<td>Basic support</td>
@@ -203,7 +203,7 @@ round(1.005, 2); //1.01
</table>
</div>
-<h2 id="See_also" name="See_also" style="margin-bottom: 20px; line-height: 30px;">相关链接</h2>
+<h2 id="See_also" name="See_also">相关链接</h2>
<p></p>