Gets or sets the distance between the borders of adjoining cells in a table.
HRESULT IHTMLRuleStyle6::get_borderSpacing(BSTR *p);HRESULT IHTMLRuleStyle6::put_borderSpacing(BSTR v);
- Pointer to a variable of type BSTR that receives one or two length values.
- BSTR that specifies one or two length values.
length A floating-point number, followed by either an absolute units designator (
pc) or a relative units designator (
px). For more information about the supported length units, see CSS Length Units Reference.
Returns S_OK if successful, or an error value otherwise.
The length values specify the distance that separates adjoining cell borders. If one length is specified, it represents both the horizontal and vertical spacing. If two are specified, the first represents the horizontal spacing, the second the vertical spacing. Negative lengths are ignored.
The distance between the table border and the borders of the cells on the edge of the table is the padding of the table for that side, plus the relevant border-spacing distance. For example, on the right side the distance is padding-right plus the horizontal border-spacing.
This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.