Centers the format block in which the current selection is located.
Scripting Information
Command JustifyCenter execCommand vValue Not applicable. Applies to execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue
C++ Information
Command group CGID_MSHTML Symbolic constant IDM_JUSTIFYCENTER User interface None IOleCommandTarget::Exec parameters
pvaIn Not applicable. pvaOut Not applicable. Header file Mshtmcid.h Applies to IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus
Minimum Availability
Internet Explorer 4.0 and later