Web domain - 796 Part III . Document Objects Reference Type
796 Part III . Document Objects Reference Type Description 0 Unknown type 1 Regular style rule 2 @charset rule 3 @import rule 4 @media rule 5 @font-face rule 6 @page rule Most of the style sheet rules you work with are type 1. To learn more about these rule types, consult the W3C specification for CSS at http://www.w3.org/TR/ REC-CSS2. Related Items: None. currentStyle, runtimeStyle, and style Objects Properties Methods Event Handlers (See below) Syntax Accessing currentStyle, runtimeStyle, or style object properties: (IE4+/NN6) elementReference.style.property (IE4+/NN6) document.styleSheets[index].style.property (IE5+) elementReference.currentStyle.property (IE5.5) elementReference.runtimeStyle.property About these objects All three of these objects currentStyle, runtimeStyle, and style return an object that contains dozens of properties related to style sheet specifications associated either with a styleSheet object (for the style object only) or any rendered HTML element object. With the browser page reflow facilities of IE4+ and NN6+, changes made to the properties of the style and IE-specific runtimeStyle objects are reflected immediately by the rendered content on the page. The primary object, the styleobject, is accessed as a property of either a styleSheet object or an HTML element object. It is vital to remember that style properties of an HTML element are reflected by the style object only if the specifications are made via the STYLE attribute inside the element s tag. If your coding style requires that style sheets be applied via STYLE or LINK tags, and if your elementRef.style
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.