From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../api/htmltableelement/cellspacing/index.html | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 files/ja/web/api/htmltableelement/cellspacing/index.html (limited to 'files/ja/web/api/htmltableelement/cellspacing') diff --git a/files/ja/web/api/htmltableelement/cellspacing/index.html b/files/ja/web/api/htmltableelement/cellspacing/index.html new file mode 100644 index 0000000000..ce08388609 --- /dev/null +++ b/files/ja/web/api/htmltableelement/cellspacing/index.html @@ -0,0 +1,31 @@ +--- +title: HTMLTableElement.cellSpacing +slug: Web/API/HTMLTableElement/cellSpacing +tags: + - DOM + - Gecko + - Gecko DOM Reference +translation_of: Web/API/HTMLTableElement/cellSpacing +--- +
+ {{ ApiRef() }}
+

概要

+

cellSpacing は、テーブルのセル間の幅の取得 / 設定に用います。

+

構文

+
HTMLTableElement.cellSpacing =spacing; //設定
+spacing =HTMLTableElement.cellSpacing; //取得
+ +

+
// セル間の間隔を 10 ピクセルに設定する例
+
+var t = document.getElementById('TableA');
+t.cellSpacing = "10";
+

仕様書

+ -- cgit v1.2.3-54-g00ecf