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

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

The HTMLTableElement.frame property represents which external table borders to render.

Syntax

HTMLTableElement.frame =
side;
var
side =
HTMLTableElement.frame;

Parameters

  • side is a string with one of the following values:
    void
    no sides. this is the default.
    above
    top side
    below
    bottom side
    hsides
    top and bottom only
    vsides
    right and left sides only
    lhs
    left-hand side only
    rhs
    right-hand side only
    box
    all four sides
    border
    all four sides

Example

// Set the frame of TableA to 'border'
var t = document.getElementById('TableA');
t.frame  = "border";
t.border = "2px";

Specification

  • W3C DOM 2 HTML Specification

文档标签和贡献者

 此页面的贡献者: teoli, kscarfone, riginoommen, Sheppy, ethertank, RobG, Dria, JesseW
 最后编辑者: teoli,