aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmltableelement/width
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/htmltableelement/width
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/htmltableelement/width')
-rw-r--r--files/ja/web/api/htmltableelement/width/index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/files/ja/web/api/htmltableelement/width/index.html b/files/ja/web/api/htmltableelement/width/index.html
new file mode 100644
index 0000000000..4f4221d6c7
--- /dev/null
+++ b/files/ja/web/api/htmltableelement/width/index.html
@@ -0,0 +1,29 @@
+---
+title: HTMLTableElement.width
+slug: Web/API/HTMLTableElement/width
+tags:
+ - DOM
+ - Gecko
+ - Gecko DOM Reference
+translation_of: Web/API/HTMLTableElement/width
+---
+<div>
+ {{APIRef}}</div>
+<div>
+  </div>
+<div>
+ <span style="font-size: 2.14285714285714rem; font-weight: 700; letter-spacing: -1px; line-height: 30px;">概要</span></div>
+<p><code>width</code> は、テーブル幅として望む値を設定します。</p>
+<h2 id="Syntax" name="Syntax">構文</h2>
+<pre class="syntaxbox">HTMLTableElement.<i>width</i> =<i>width</i>; //設定
+<var>width</var> = HTMLTableElement.<i>width</i>; //取得</pre>
+<p><a class="external" href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#adef-width-TABLE"><code>width</code></a> の箇所は、単位無しのピクセル値か相対値(<code>%</code>) の様な文字列です。</p>
+<h2 id="Example" name="Example">例</h2>
+<pre class="brush:js;gutter:false">mytable.width = "75%";</pre>
+<h2 id="Specification" name="Specification">仕様</h2>
+<ul>
+ <li>W3C DOM 2 HTML 仕様書: <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-77447361">
+ <i>
+ HTMLTableElement</i>
+ .width</a></li>
+</ul>