Properties
This section contains a list of Document Object Model (DOM) style properties.
In this section
| Property | Description |
|---|---|
|
Gets the height of the working area of the system's screen, excluding the Windows taskbar. | |
|
Gets the width of the working area of the system's screen, excluding the Windows taskbar. | |
|
Gets a string value that indicates whether the content in the block element flows from left to right, or from right to left. | |
|
Gets or sets the number of bits per pixel used for colors in the off-screen bitmap buffer. | |
|
Specifies which part of a positioned object is visible. | |
|
Gets the bottom coordinate of the object clipping region. | |
|
Gets the left coordinate of the object clipping region. | |
|
Gets the right coordinate of the object clipping region. | |
|
Gets the top coordinate of the object clipping region. | |
|
Gets the number of bits per pixel used for colors on the destination device or buffer. | |
|
Gets a reference to the constructor of a screen object. | |
|
Specifies whether to use Cross-Origin Resource Sharing (CORS) when fetching an image from a site outside the webpage's domain. | |
|
Specifies the content zoom factor. | |
|
Sets or retrieves a value that specifies whether a box should float to the left, right, or not at all. | |
|
Retrieves a list of all Cascading Style Sheets (CSS) rules contained within the parent object. | |
|
Sets or retrieves the persisted representation of the style rule. | |
|
Gets the device resolution (the ratio between physical device pixels and DPI-adjusted logical CSS pixels). | |
|
Gets the actual number of horizontal dots per inch (dpi) of the system's screen. | |
|
Gets the actual number of vertical dpi of the system's screen. | |
|
Gets whether the user has enabled font smoothing in the Display control panel. | |
|
Gets the numeric weight of the font of the object. | |
|
Gets a value that indicates whether the object has layout. | |
|
Gets the vertical resolution of the screen. | |
|
Retrieves the location of the style sheet to be imported. | |
|
Sets or retrieves the URL of the linked style sheet. | |
|
Gets the collection of imported style sheets. | |
|
Retrieves a value that indicates whether the IHTMLStyleSheet3 object is an alternative style sheet. | |
|
Retrieves a value that indicates whether the IHTMLStyleSheet3 object is the preferred style sheet. | |
|
Gets a property that has been explicitly set in the current declaration block. | |
|
Retrieves the number of properties that are explicitly set on the parent object. | |
|
Gets the normal number of horizontal dots per inch (DPI) of the system's screen. | |
|
Gets the normal number of vertical dots per inch (DPI) of the system's screen. | |
|
Sets or retrieves a list of media types for which this style sheet is used. | |
|
Sets or retrieves a list of media types for this rule. | |
|
Sets or retrieves the media type. | |
|
Sets or retrieves the parsable textual representation of the current media list. | |
|
Gets the orientation of the screen. | |
|
Retrieves the namespace of the @namespace rule. | |
|
Retrieves the node that associates this style sheet with the document. | |
|
Retrieves a value that indicates whether this style sheet comes from an @import rule or a link (an element or processing instruction). | |
|
Retrieves the next object in the HTML hierarchy. | |
|
Gets a collection of page rules for the style sheet. | |
|
Retrieves the containing rule, if the current rule is contained inside another rule. | |
|
Retrieves the style sheet that contains the current rule. | |
|
Retrieves the style sheet that imported the current style sheets. | |
|
Gets the number of bits per pixel that is used for colors on the destination device or buffer. | |
|
Retrieves the prefix of the @namespace rule or | |
|
Retrieves a string that identifies the pseudo class of the page or pages an @page rule applies to. | |
|
Retrieves whether the rule or style sheet is defined on the document or is imported. | |
|
Retrieves a collection of rules defined in a style sheet. | |
|
Retrieves a string that identifies which page or pages an @page rule applies to. | |
|
Retrieves a string that identifies which elements the corresponding style sheet rule applies to. | |
|
Sets or retrieves a value that represents the textual representation of the selector for the rule set. | |
|
Gets the CSS style sheet that is associated with the object. | |
|
Retrieves the declaration block of the current rule. | |
|
Gets a StyleMedia object that contains methods and properties. These methods and properties determine the media types that are supported by the object that displays the document object. | |
|
Note For the style element, styleSheet is no longer supported. Starting with Internet Explorer 11, use sheet. For info, see Compatibility changes.
Retrieves an interface pointer that provides access to the style sheet object's properties and methods. | |
|
Gets the collection of style sheets for the document. | |
|
Gets the number of horizontal dpi of display resolution at normal zoom level. | |
|
Gets the number of vertical dpi of display resolution at normal zoom level. | |
|
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 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. | |
|
Sets or retrieves the title of the style sheet. | |
|
Retrieves the type of the rule. | |
|
Retrieves the CSS language in which the style sheet is written. | |
|
Retrieves the CSS language in which the style sheet is written. | |
|
Gets or sets the update interval for the screen. | |
|
Gets the character set used to decode the current document. | |
|
Sets or retrieves a value that indicates whether the document fragment inherits the CSS styles set in the primary document. | |
|
Gets the horizontal resolution of the screen. | |
|
The horizontal position of the point. | |
|
The vertical position of the point. |