align property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the alignment of the object relative to the display or table.
Syntax
HRESULT value = object.put_align(BSTR v);HRESULT value = object.get_align(BSTR* p);
Property values
Type: BSTR
center
Aligns to the center.
justify
Aligns to the left and right edge.
left
Default. Aligns to the left edge.
right
Aligns to the right edge.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 11.3.2 (Deprecated)
Remarks
The default value for the th element is center.
The justify possible value is available only for the div, hn, and p elements.
Build date: 6/12/2012