
The DIV element is used with the className property to represent different kinds of containers.
This element is a block element.
IHTMLDivElement Methods
| put_align | get_align |
| put_noWrap | get_noWrap |
HRESULT put_align(
BSTR v
);
Sets the alignment of the element.
| center | Align to the center. |
| left | Align to the left edge. |
| right | Align to the right edge. |
See also get_align
HRESULT get_align(
BSTR *p
);
Retrieves the alignment of the element.
| center | Align to the center. |
| left | Align to the left edge. |
| right | Align to the right edge. |
See also put_align
HRESULT put_noWrap(
VARIANT_BOOL v
);
Enables or disables automatic word wrapping for the text in the division.
See also get_noWrap
HRESULT get_noWrap(
VARIANT_BOOL *p
);
Determines whether automatic word wrapping is enabled or disabled for the element.
See also put_noWrap
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.