共用方式為


clear property

Specifies whether the object allows floating objects on its left side, right side, or both, so that the next text displays past the floating objects.

 

Syntax

Integer value = object.put_clear( v);Integer value = object.get_clear(* sClear);

Property values

Type: BSTR

none (none)

Default. Floating objects are allowed on both sides.

left (left)

Object is moved below any floating object on the left side.

right (right)

Object is moved below any floating object on the right side.

both (both)

Object is moved below any floating object.

String format

none | left | right | both

CSS information

Applies To block-level elements
Media visual
Inherited no
Initial Value none

Standards information

Remarks

The value of this property lists the sides where floating objects are not accepted.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll