
HRESULT put_borderLeft(
BSTR v
);
Sets the value of the CSS border-left attribute for the element. The attribute determines the width, style, and color of the left border.
See also get_borderLeft
HRESULT put_borderLeftColor(
VARIANT v
);
Sets the value of the CSS border-left-color attribute for the element. The attribute determines the color of the element's left border.
See also get_borderLeftColor
HRESULT put_borderLeftStyle(
BSTR v
);
Sets the value of the CSS border-left-style attribute for the element. The attribute determines the style of the left border.
See also get_borderLeftStyle
HRESULT put_borderLeftWidth(
VARIANT v
);
Sets the value of the CSS border-left-width attribute for the element. The attribute determines the width of the left border.
See also get_borderLeftWidth
HRESULT put_borderRight(
BSTR v
);
Sets the value of the CSS border-right attribute for the element. The attribute determines the width, style, and color of the right border.
See also get_borderRight
HRESULT put_borderRightColor(
VARIANT v
);
Sets the value of the CSS border-right-color attribute for the element. The attribute determines the color of the element's right border.
See also get_borderRightColor
HRESULT put_borderRightStyle(
BSTR v
);
Sets the value of the CSS border-right-style attribute for the element. The attribute determines the style of the right border.
See also get_borderRightStyle
HRESULT put_borderRightWidth(
VARIANT v
);
Sets the value of the CSS border-right-width attribute for the element. The attribute determines the width of the right border.
See also get_borderRightWidth
HRESULT put_borderStyle(
BSTR v
);
Sets the value of the CSS border-style attribute for the element. The attribute determines the style of the left, right, top, and bottom borders.
See also get_borderStyle
HRESULT put_borderTop(
BSTR v
);
Sets the value of the CSS border-top attribute for the element. The attribute determines the width, style, and color of the top border.
See also get_borderTop
HRESULT put_borderTopColor(
VARIANT v
);
Sets the value of the CSS border-top-color attribute for the element. The attribute determines the color of the element's top border.
See also get_borderTopColor
HRESULT put_borderTopStyle(
BSTR v
);
Sets the value of the CSS border-top-style attribute for the element. The attribute determines the style of the top border.
See also get_borderTopStyle
HRESULT put_borderTopWidth(
VARIANT v
);
Sets the value of the CSS border-top-width attribute for the element. The attribute determines the width of the top border.
See also get_borderTopWidth
HRESULT put_borderWidth(
BSTR v
);
Sets the value of the CSS border-width attribute for the element. The attribute determines the width of the left, right, top, and bottom borders.
See also get_borderWidth
HRESULT put_clear(
BSTR v
);
Sets the value of the CSS clear attribute for the element. The attribute determines whether the element allows floating elements (typically images) on its left and right sides. More specifically, the attribute specifies the sides where floating elements are not allowed.
| left |
| right |
| both |
See also get_clear
HRESULT put_clip(
BSTR v
);
Sets the value of the CSS clip attribute for the element. The attribute determines which part of the element is visible. Any part of the element that is outside the clipping area is transparent.
See also get_clip
HRESULT put_color(
VARIANT v
);
Sets the CSS color attribute for the element.
See also get_color
HRESULT put_cssText(
BSTR v
);
Sets the persisted representation of the style rule.
See also get_cssText
HRESULT put_cursor(
BSTR v
);
Sets the value of the CSS cursor attribute for the element. The attribute determines the type of cursor to display when the mouse is over the element.
| auto | The UA determines the cursor to display based on the current context. |
| crosshair | A simple crosshair. |
| default | The platform-dependent default cursor (typically an arrow). |
| hand | A hand. |
| move | A four-directional arrow typically used to indicate an object to be moved. |
| *-resize | An arrow cursor typically used to indicate the edge of an object to be moved during a resize operation. |
| text | Typically an I-bar used to indicate editable text. |
| wait | Typically a watch or hourglass used to indicate that the program is busy and the user should wait. |
See also get_cursor
HRESULT put_display(
BSTR v
);
Sets the value of the CSS display attribute for the element. The attribute determines whether the element is rendered.
Although you can apply the display attribute to parts of a table (such as a TR or TD element), changing the property has no effect on those parts. However, you can dynamically control the rendering of the entire table by applying the attribute to the TABLE element.
See also get_display
HRESULT put_filter(
BSTR v
);
Sets a filter or collection of filters for the element.
See also get_filter
HRESULT put_font(
BSTR v
);
Sets the value of the CSS font-style, font-variant, font-weight, font-size, line-height, and font-family attributes for the element.
[<font-style> || <font-variant> || <font-weight>] <font-size> / [<line-height>] <font-family>
See also get_font
HRESULT put_fontFamily(
BSTR v
);
Sets the value of the CSS font-family attribute for the element.
See also get_fontFamily
HRESULT put_fontSize(
VARIANT v
);
Sets the value of the CSS font-size attribute for the element.
See also get_fontSize
HRESULT put_fontStyle(
BSTR v
);
Sets the value of the CSS font-style attribute for the element.
| normal |
| italic |
| oblique |
See also get_fontStyle
HRESULT put_fontVariant(
BSTR v
);
Sets the value of the CSS font-variant attribute for the element.
| normal |
| small-caps |
The default value for the font-variant attribute is "normal".
See also get_fontVariant
HRESULT put_fontWeight(
BSTR v
);
Sets the value of the CSS font-weight attribute for the element.
| normal |
| bold |
| bolder |
| lighter |
| 100 |
| 200 |
| 300 |
| 400 |
| 500 |
| 600 |
| 700 |
| 800 |
| 900 |
See also get_fontWeight
HRESULT put_height(
VARIANT v
);
Sets the value of the CSS height attribute for the element. The attribute determines the element's height.
See also get_height
HRESULT put_left(
VARIANT v
);
Sets the value of the CSS left attribute for the element. The attribute determines the left position of the element.
See also get_left
HRESULT put_letterSpacing(
VARIANT v
);
Sets the value of the CSS letter-spacing attribute for the element. The attribute determines the amount of space to add to the default space between letters in the element's text.
See also get_letterSpacing
HRESULT put_lineHeight(
VARIANT v
);
Sets the value of the CSS line-height attribute for the element. The attribute determines the distance between the baselines of subsequent lines of text. Use a negative line height to achieve various shadowing effects.
See also get_lineHeight
HRESULT put_listStyle(
BSTR v
);
Sets the value of the CSS list-style attribute for the element. The attribute determines how a list-item marker is drawn.
The list-style attribute is applicable only on elements that have the display attribute set to "list-item". This property can be set on any element and is inherited down the tree. In HTML, this is typically the case for the LI element.
This function combines the functionality of the put_listStyleType, put_listStyleImage, and put_listStylePosition functions.
If no type or position is specified, the default type is "disk" and the default position is "outside".
See also get_listStyle
HRESULT put_listStyleImage(
BSTR v
);
Sets the value of the CSS list-style-image attribute for the element. The attribute sets the image to use as the list-item marker. When the image is available, it replaces the marker.
The list-style-image attribute is applicable only on elements that have the display attribute set to "list-item".
See also get_listStyleImage
HRESULT put_listStylePosition(
BSTR v
);
Sets the value of the CSS list-style-position attribute for the element. The attribute determines how the list-item marker is drawn with regard to the content.
| inside |
| outside |
The list-style-position attribute is applicable only on elements that have the display attribute set to "list-item".
See also get_listStylePosition
HRESULT put_listStyleType(
BSTR v
);
Sets the value of the CSS list-style-type attribute for the element. The attribute determines the appearance of the list-item marker if the list-style-image is set to "none" or if the image pointed to by the URL cannot be displayed.
| disk |
| circle |
| square |
| decimal |
| lower-roman |
| upper-roman |
| lower-alpha |
| upper-alpha |
| none |
The list-style-type attribute is applicable only on elements that have the display attribute set to "list-item".
See also get_listStyleType
HRESULT put_margin(
BSTR v
);
Sets the value of the CSS margin attribute for the element. The attribute sets the top, right, bottom, and left margins for the text of the element.
This function combines the functionality of the put_marginTop, put_marginRight, put_marginBottom, and put_marginLeft functions.
See also get_margin
HRESULT put_marginBottom(
VARIANT v
);
Sets the value of the CSS margin-bottom attribute for the element. The attribute determines the height of the bottom margin for the element.
See also get_marginBottom
HRESULT put_marginLeft(
VARIANT v
);
Sets the value of the CSS margin-left attribute for the element. The attribute determines the width of the left margin for the element.
See also get_marginLeft
HRESULT put_marginRight(
VARIANT v
);
Sets the value of the CSS margin-right attribute for the element. The attribute determines the width of the right margin for the element.
See also get_marginRight
HRESULT put_marginTop(
VARIANT v
);
Sets the value of the CSS margin-top attribute for the element. The attribute determines the height of the top margin for the element.
See also get_marginTop
HRESULT put_overflow(
BSTR v
);
Sets the value of the CSS overflow attribute for the element.
| none |
| clip |
| scroll |
See also get_overflow
HRESULT put_padding(
BSTR v
);
Sets the value of the CSS padding attribute for the element. The attibute determines the amount of space between the border and the element's content.
This function combines the functionality of the put_paddingTop, put_paddingRight, put_paddingBottom, and put_paddingLeft functions.
See also get_padding
HRESULT put_paddingBottom(
VARIANT v
);
Sets the value of the CSS padding-bottom attribute for the element. The attribute determines the amount of space between the border and the bottom of the element's content.
See also get_paddingBottom
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.