defaults object
Programmatically sets default properties on an element behavior.
Members
The defaults object has these types of members:
Properties
The defaults object has these properties.
Property | Access type | Description |
---|---|---|
Sets or retrieves a string that indicates whether the object represents a keyboard shortcut. | ||
Specifies up to five separate background properties of an object. | ||
Specifies how the background image (or images) is attached to the object within the document. | ||
Specifies the background painting area or areas relative to the element's bounding boxes. | ||
Specifies the color behind the content of the object. | ||
Specifies the background image or images of the object. | ||
Specifies the positioning area of an element or multiple elements. | ||
Specifies the position of the background of the object. | ||
Specifies the x-coordinate of the background-position property. | ||
Specifies the y-coordinate of the background-position property. | ||
Specifies whether and how the background image (or images) is tiled. | ||
Specifies the size of the background images. | ||
Sets or retrieves the location of the Dynamic HTML (DHTML) behaviorDHTML Behaviors. | ||
Specifies the properties of a border drawn around an object. | ||
Specifies the properties of the bottom border of the object. | ||
Specifies the foreground color of the bottom border of an object. | ||
Specifies the radii of the quarter ellipse that defines the shape of the lower-left corner for the outer border edge of the current box. | ||
Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the lower-right corner for the outer border edge of the current box. | ||
Specifies the style of the bottom border of the object. | ||
Specifies the thickness of the bottom border of the object. | ||
Specifies the border color of the object. | ||
Specifies the properties of the left border of the object. | ||
Specifies the foreground color of the left border of an object. | ||
Sets or retrieves the style of the left border of the object. | ||
Specifies the thickness of the left border of the object. | ||
Specifies the radii of a quarter ellipse that defines the shape of the corners for the outer border edge of the current box. | ||
Specifies the properties of the right border of the object. | ||
Specifies the foreground color of the right border of an object. | ||
Specifies the style of the right border of the object. | ||
Specifies the thickness of the right border of the object. | ||
Specifies the style of the left, right, top, and bottom borders of the object. | ||
Specifies the properties of the top border of the object. | ||
Specifies the foreground color of the top border of an object. | ||
Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the upper-left corner for the outer border edge of the current box. | ||
Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the upper-right corner for the outer border edge of the current box. | ||
Specifies the style of the top border of the object. | ||
Specifies the thickness of the top border of the object. | ||
Specifies the thicknesses of the left, right, top, and bottom borders of an object. | ||
Sets or retrieves the bottom position of the object in relation to the bottom of the next positioned object in the document hierarchy. | ||
Specifies one or more set of shadow values that attaches one or more drop shadows to the current box. | ||
Retrieves the value indicating whether the object can contain rich HTML markup. | ||
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. | ||
Read/write |
Specifies which part of a positioned object is visible. | |
The foreground color of the text of an object. | ||
Returns a reference to the constructor of an object. | ||
Sets or retrieves the string that indicates whether the user can edit the content of the object. | ||
Specifies the type of cursor to display as the mouse pointer moves over the object. | ||
Specifies the reading order of the object. | ||
Gets or sets a value that indicates whether and how the object is rendered. | ||
Specifies a combination of separate font properties of the object. Alternatively, sets or retrieves one or more of six user-preference fonts. | ||
Specifies the name of the font used for text in the object. | ||
Specifies a value that indicates the font size used for text in the object. | ||
Specifies a value that indicates a normal, condensed, or expanded face of a font family. | ||
Specifies the font style of the object as italic, normal, or oblique. | ||
Specifies whether the text of the object is in small capital letters. | ||
Gets the numeric weight of the font of the object. | ||
Specifies the weight of the font of the object. | ||
Retrieves the value indicating whether the content of the object contains one or more lines. | ||
Specifies the composite document grid properties that specify the layout of text characters. | ||
Specifies whether the text layout grid uses two dimensions. | ||
Sets or retrieves the position of the object relative to the left edge of the next positioned object in the document hierarchy. | ||
Specifies the amount of additional space between letters in the object. | ||
Sets or retrieves the distance between lines in the object. | ||
Sets or retrieves the width of the top, right, bottom, and left margins of the object. | ||
Sets or retrieves the height of the bottom margin of the object. | ||
Sets or retrieves the width of the left margin of the object. | ||
Sets or retrieves the width of the right margin of the object. | ||
Sets or retrieves the height of the top margin of the object. | ||
Specifies the block progression and layout orientation. | ||
Read/write |
This property is obsolete. Use animation-name instead. | |
Gets or sets a value that specifies object or group opacity in CSS or SVG. | ||
Sets or retrieves a value indicating how to manage the content of the object when the content exceeds the height or width of the object. | ||
Sets or retrieves how to manage the content of the object when the content exceeds the width of the object. | ||
Sets or retrieves how to manage the content of the object when the content exceeds the height of the object. | ||
Sets or retrieves the amount of space to insert between the object and its margin or, if there is a border, between the object and its border. | ||
Sets or retrieves the amount of space to insert between the bottom border of the object and the content. | ||
Sets or retrieves the amount of space to insert between the left border of the object and the content. | ||
Sets or retrieves the amount of space to insert between the right border of the object and the content. | ||
Sets or retrieves the amount of space to insert between the top border of the object and the content. | ||
Sets or retrieves the bottom position of the object. | ||
Sets or retrieves the height of the object. | ||
Sets or retrieves the left position of the object. | ||
Sets or retrieves the right position of the object. | ||
Sets or retrieves the top position of the object. | ||
Sets or retrieves the width of the object. | ||
Sets or retrieves the bottom position of the object in the units specified by the bottom attribute. | ||
Sets or retrieves the height of the object in the units specified by the height attribute. | ||
Sets or retrieves the type of positioning used for the object. | ||
Sets or retrieves the left position of the object in the units specified by the left attribute. | ||
Sets or retrieves the right position of the object in the units specified by the right attribute. | ||
Sets or retrieves the top position of the object in the units specified by the top attribute. | ||
Sets or retrieves the width of the object in the units specified by the width attribute. | ||
Specifies the color of the top and left edges of the scroll box and scroll arrows of a scroll bar. | ||
Specifies the color of the arrow elements of a scroll arrow. | ||
Specifies the base color of the main elements of a scroll bar. | ||
Specifies the color of the gutter of a scroll bar. | ||
Specifies the color of the scroll box and scroll arrows of a scroll bar. | ||
Specifies the color of the slider tray, and the top and left edges of the scroll box and scroll arrows of a scroll bar. | ||
Specifies the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar. | ||
Specifies the color of the track element of a scroll bar. | ||
Sets or retrieves on which side of the object the text will flow. | ||
Sets or retrieves whether an element behavior can receive focus and participate in the tabbing sequence. | ||
Specifies the autospacing and narrow space width adjustment of text. | ||
Specifies a value that indicates whether the text in the object has blink, line-through, overline, or underline decorations. | ||
Sets or retrieves a Boolean value that indicates whether the object's textDecoration property has a value of "blink." This property is not supported for Windows Store apps using JavaScript. | ||
Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn through it. | ||
Sets or retrieves the Boolean value indicating whether the textDecoration property for the object has been set to none. | ||
Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn over it. | ||
Sets or retrieves whether the text in the object is underlined. | ||
Specifies a value that indicates whether to render ellipses (...) to indicate text overflow. | ||
Specifies the rendering of the text in the object. | ||
Sets or retrieves the position of the object relative to the top of the next positioned object in the document hierarchy. | ||
Read/write |
Specifies the level of embedding with respect to the bidirectional algorithm. | |
Sets or retrieves the vertical alignment of the object. | ||
Sets or retrieves a value that indicates whether the document fragment inherits the CSS styles set in the primary document. | ||
Sets or retrieves the document object that supplies content to the master element. | ||
Declares the element behavior as a document fragment. | ||
Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document. This property is not supported for Windows Store apps using JavaScript. | ||
Sets or retrieves whether the content of the object is displayed. | ||
Sets or retrieves the stacking order of positioned objects. |
Standards information
There are no standards that apply here.
Remarks
The PUBLIC:DEFAULTS element is the declarative form of the defaults object.
This object is available in script as of Microsoft Internet Explorer 5.5.
See also
- Conceptual
- Introduction to Viewlink
- About Element Behaviors