Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

HTMLTableElement.frame

概要

frame は、表の外辺部のボーダーの表示箇所を設定します。

構文

HTMLTableElement.frame =side;
varside = HTMLTableElement.frame;

引数

side は以下の文字列の内の何れかです。

void
どの辺にも表示しない(初期値)
above
上辺を表示
below
下辺〃
hsides
上下〃
vsides
左右〃
lhs
左辺のみ〃
rhs
右辺のみ〃
box
border
4 辺全て〃

// テーブルに 2 ピクセル幅のボーダーを表示する例

var t = document.getElementById('TableA');

t.frame  = "border"; // 全辺のボーダーを有効に
t.border = "2px"; // 幅を 2 ピクセルに設定

仕様

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: fscholz, jsx, ethertank
 最終更新者: jsx,