Property | NS2 | NS3 | NS4 | NS6 | IE3a | IE3b | IE4 | IE5 | IE5.5 | IE6 |
alink | | | | x | | | x | x | x | x |
| Read/write |
| Holds the color of an active link in the web page (that is, a link as it's being clicked). Set to a browser color valuea color triplet (such as "ff0000") or a predefined browser color (such as "cyan"). |
background | | | | x | | | x | x | x | x |
| Read/write |
| Holds the URL of a background image to display in the browser; set this property to a URL text string. To clear the background to the default, set this property to an empty string. |
bgColor | | | | x | | | x | x | x | x |
| Read/write |
| Holds the background color of a web page, just like the BGCOLOR attribute. Set to a browser color valuea color triplet (such as "f f 0000") or a predefined browser color (such as "green"). |
bgProperties | | | | | | | x | x | x | x |
| Read/write |
| Specifies whether the background scrolls with the rest of the page or remains static (giving the impression that the page's content is moving, like a sheet of glass, over the background as you scroll). Set to "scroll" (the default) or "fixed." |
blockDirection | | | | | | | | x | x | x |
| Read-only |
| Holds a string value that indicates whether the content in the block element flows from left to right, or from right to left. Set to "ltr" to make the content flow from left to right and "rtl" and right to left. |
bottomMargin | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves the bottom margin of the entire body of the page, measured in pixels. Set to an integer. The default value is 15. By default, when you set the value of this property, the opposite margin is set to the same value. |
leftMargin | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves the left margin for the entire body of the page, overriding the default margin. Set to an integer. The default value is 10. By default, when you set the value of this property, the opposite margin is set to the same value. |
link | | | | x | | | x | x | x | x |
| Read/write |
| Holds the color of a hyperlink in the web page. Set to a browser color valuea color triplet (such as "f f 0000") or a predefined browser color (such as "coral"). |
noWrap | | | | | | | x | x | x | x |
| Read/write |
| This Boolean property gets or sets the value of the <BODY> element's NOWRAP attribute, which specifies whether text wraps at the edge of the displayed area. |
rightMargin | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves the right margin for the entire body of the page. Set to an integer. The default value is 10. By default, when you set the value of this property, the opposite margin is set to the same value. |
scroll | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves a value that indicates whether the scrollbars are turned on or off. Set to "yes" (the default), "no," or "auto" (which means the browser will display scrollbars if needed). |
scrollLeft | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves the distance between the left edge of the body and the leftmost portion of the content currently visible. Set to an integer in pixels. |
scrollTop | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves the distance between the top of the body and the topmost portion of the content currently visible. Set to an integer in pixels. |
text | | | | x | | | x | x | x | x |
| Read/write |
| Holds the foreground color of a web page (the color used for text). Set to a browser color valuea color triplet (such as "f f 0000") or a predefined browser color (such as " magenta "). |
topMargin | | | | | | | x | x | x | x |
| Read/write |
| Sets or retrieves the margin for the top of the page. Set to an integer. The default value is 15. By default, when you set the value of this property, the opposite margin is set to the same value. |
vLink | | | | x | | | x | x | x | x |
| Read/write |
| Holds the color of an already visited hyperlink in the web page. Set to a browser color valuea color triplet (such as "f f 0000") or a predefined browser color (such as "lightyellow"). |