Click to return to the Reusing Browser Technology home page    
IHTMLTableCaption::get_vA...     IHTMLTableCell::get_align...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLTableCell Interface


The IHTMLTableCell interface specifies a cell in a table.

IHTMLTableCell Methods

get_align Displays the element left-aligned, right-aligned, or centered relative to the display or table.
get_background Retrieves a background picture for the cell. The picture is tiled behind the text and graphics in the table cell.
get_bgColor Retrieves the background color behind the element.
get_borderColor Retrieves the border color and must be used with the border property.
get_borderColorDark Retrieves independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorLight, and must be used with the border property.
get_borderColorLight Retrieves independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorDark, and must be used with the border property.
get_cellIndex Retrieves the cell index value.
get_colSpan Retrieves how many columns in the TABLE object this cell spans.
get_height Retrieves the calculated height of the element, in pixels.
get_noWrap Determines whether automatic wordwrapping is enabled or disabled for the element.
get_rowSpan Retrieves how many rows in a TABLE this cell spans.
get_vAlign Retrieves how the text and content of a table cell is vertically aligned in relation to one of the cell borders.
get_width Retrieves the calculated width of the element, in pixels.
put_align Displays the element left-aligned, right-aligned, or centered relative to the display or table.
put_background Sets a background picture for the cell. The picture is tiled behind the text and graphics in the table cell.
put_bgColor Sets the background color behind the element.
put_borderColor Sets the border color and must be used with the border property.
put_borderColorDark Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorLight, and must be used with the border property.
put_borderColorLight Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorDark, and must be used with the border property.
put_colSpan Sets how many columns in the TABLE object this cell should span.
put_height Sets the calculated height of the element, in pixels.
put_noWrap Enables or disables automatic wordwrapping for the element.
put_rowSpan Sets how many rows in a TABLE this cell should span.
put_vAlign Sets how the text and other content of a table cell is vertically aligned in relation to one of the cell borders.
put_width Sets the calculated width of the element, in pixels.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

Remarks

The TD element is a block element.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.