diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/htmltableelement/align | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/web/api/htmltableelement/align')
-rw-r--r-- | files/ja/web/api/htmltableelement/align/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/files/ja/web/api/htmltableelement/align/index.html b/files/ja/web/api/htmltableelement/align/index.html new file mode 100644 index 0000000000..b80c15c978 --- /dev/null +++ b/files/ja/web/api/htmltableelement/align/index.html @@ -0,0 +1,44 @@ +--- +title: HTMLTableElement.align +slug: Web/API/HTMLTableElement/align +tags: + - DOM + - Gecko +translation_of: Web/API/HTMLTableElement/align +--- +<div>{{ Apiref()}} {{deprecated_header()}}</div> + +<h2 id="Summary" name="Summary">概要</h2> + +<p><strong>align</strong> は、テーブルの配置位置 (alignment) を取得 / 設定します。</p> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox"><em>HTMLTableElement</em>.align =<em>alignment</em>; +var<em>alignment</em> =<em>HTMLTableElement</em>.align;</pre> + +<h3 id="Parameters" name="Parameters">引数</h3> + +<dl> + <dt><code>alignment</code> {{deprecatedGeneric('inline','HTML4')}}</dt> + <dd>以下の内の何れかのキーワードを指定(或いは取得)します。 + <ul> + <li>left</li> + <li>center</li> + <li>right</li> + </ul> + </dd> +</dl> + +<h2 id="Example" name="Example">例</h2> + +<pre class="brush:js">// テーブルの位置を設定する + +var t = document.getElementById('TableA'); // 対象テーブルを取得 +t.align = 'center'; // 中央寄せ配置の指定</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-23180977"><em>HTMLTableElement</em> .align</a>.</li> +</ul> |