HRESULT IHTMLCurrentStyle5::get_captionSide(BSTR *p);
- Pointer to a variable of type BSTR that receives the placement of the caption.
top For horizontal tables (in horizontal writing modes), the caption is placed above the table. Not supported for vertical tables (in vertical writing modes). bottom For horizontal tables, the caption is placed below the table. Not supported for vertical tables. left For vertical tables, the caption is placed at the left of the table. Not supported for horizontal tables. right For vertical tables, the caption is placed at the right of the table. Not supported for horizontal tables.
Returns S_OK if successful, or an error value otherwise.
The supported possible values for caption-side depend on the orientation of the table. Horizontal tables ( -ms-writing-mode set to
rl-*) support the
bottomvalues. Vertical tables ( -ms-writing-mode set to
bt-*) support the
Using an unsupported value for this property (for instance,
lefton a caption for a horizontal table) will cause the caption to appear at the "logical top" of the table. The logical top of a table depends on the writing mode of the text, and is parallel to and immediately precedes the first line of text in a table.
This style attribute can be applied to any element with a display style of
This property requires Internet Explorer to be in IE8 Standards mode rendering.