Share via


AbsolutePosition Command

Sets an element's position property to "absolute."

Scripting Information

Command AbsolutePosition
User interface None. Set bUserInterface to false. 
execCommand vValue Required. Boolean specifying whether the element is to be absolutely positioned.
Applies to execCommandqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValue.

Remarks

This command only applies to site selectable elements. In addition, AbsolutePosition only affects inline styles. If the page defines absolute positioning for the element in a style block, AbsolutePosition will not be able to affect the element's positioning property.

Minimum Availability

Internet Explorer 5.5 and later.

See Also

Modifying Documents in Edit Mode, Using the MSHTML Editor's Extra Features