Partager via


msBoxAlign property

Do not use. This property has been replaced by the -ms-flex-align property, and is no longer recognized by Windows Internet Explorer. To ensure compatibility in the future, applications using this property should be updated accordingly. Gets or sets a value that specifies the alignment (perpendicular to the layout axis defined by the IHTMLCSSStyleDeclaration::msBoxOrient property) of child elements of the object.

This property is read/write.

 

Syntax

HRESULT put_msBoxAlign(
  [in]          BSTR v
);

HRESULT get_msBoxAlign(
  [out, retval] BSTR *p
);

Property values

Type: BSTR

The alignment.

String format

before | after | middle | baseline | stretch

CSS information

Applies To flexbox elements
Media visual
Inherited no
Initial Value stretch

Standards information

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll