Click to return to the DHTML, HTML     
mv--grid Attribute | mvGr...     mv--grid-rows Attribute |...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

mv--grid-cols Attribute | mvGridCols Property


Sets or retrieves the distance in pixels between columns of the grid that elements snap to when the SNAPABLE attribute is enabled for the moveable behavior.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('moveable.htc'); mv--grid-cols: iColSpace;" .../>
HTML{ mv--grid-cols: iColSpace; }
Scripting[ iColSpace = ] oCalendar.style.mvGridCols

Possible Values

Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag.
CustomTag User-defined tag.
sID String that uniquely identifies the object.
iColSpaceInteger specifying the vertical increment of pixels an element snaps to when the SNAPABLE attribute is enabled.

The property is read/write with a default value of 25; the cascading style sheets (CSS) attribute is inherited.

Remarks

The mv--grid-cols attribute is available only to objects participating in the moveable behavior.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
moveable


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.