TableCellElement

extern class js.html.TableCellElementextends ElementAvailable in jsThe HTML Table Cell Element (<td>) defines a cell that content data.

Documentation for this class was provided by MDN.
var abbr : StringThis attribute contains a short abbreviated description of the content of the cell. Some user-agents, such as speech readers, may present this description before the content itself.
Note: Do not use this attribute as it is obsolete in the latest standard: instead either consider starting the cell content by an independent abbreviated content itself or use the abbreviated content as the cell content and use the long content as the description of the cell by putting it in the title attribute.
var align : StringThis enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:
  • left, aligning the content to the left of the cell
  • center, centering the content in the cell
  • right, aligning the content to the right of the cell
  • justify, inserting spaces into the textual content so that the content is justified in the cell
  • char, aligning the textual content on a special character with a minimal offset, defined by the char and charoff attributes Unimplemented (see bug 2212 ) .

If this attribute is not set,  the left value is assumed.

Note: Do not use this attribute as it is obsolete (not supported) in the latest standard.
  • To achieve the same effect as the left, center, right or justify values, use the CSS text-align property on it.
  • To achieve the same effect as the char value, in CSS3, you can use the value of the char as the value of the text-align property Unimplemented .
var axis : StringThis attribute contains a list of space-separated strings. Each string is the ID of a group of cells that this header applies to.
Note: Do not use this attribute as it is obsolete in the latest standard: instead use the scope attribute.
var bgColor : String var cellIndex(default,null) : Int var ch : String var chOff : String var colSpan : Int var headers : StringThis attributes a list of space-separated strings, each corresponding to the id attribute of the <th> elements that applies to this element. var height : String var noWrap : Bool var rowSpan : Int var scope : String var vAlign : String var width : String
version #18350, modified 2013-05-01 11:58:40 by api
0 comment