共用方式為


IHTMLTableCell interface

The IHTMLTableCell interface specifies a cell in a TABLE.

Members

The IHTMLTableCell interface inherits from the IDispatch interface. IHTMLTableCell also has these types of members:

  • Properties

Properties

The IHTMLTableCell interface has these properties.

Property Description

align

Sets or retrieves the alignment of the object relative to the display or table.

background

Sets or retrieves the background picture tiled behind the text and graphics in the object.

bgColor

Deprecated. Sets or retrieves the background color behind the object.

borderColor

Sets or retrieves the border color of the object.

borderColorDark

Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.

borderColorLight

Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.

cellIndex

Retrieves the position of the object in the cells collection of a row.

colSpan

Sets or retrieves the number columns in the table that the object should span.

height

Sets or retrieves the height of the object.

noWrap

Sets or retrieves whether the browser automatically performs wordwrap.

rowSpan

Sets or retrieves how many rows in a table the cell should span.

vAlign

Sets or retrieves how text and other content are vertically aligned within the object that contains them.

width

Sets or retrieves the width of the object.

 

Remarks

The td element is a block element.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

IHTMLTableCell2