Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
Samples
|
Internet Explorer 5 DemoscurrentStyle Object |
||||
Download sample | Demo | |||
Description
This sample demonstrates the new currentStyle object, which exposes the style used to render the element, even if it is inherited from another object. By contrast, the style object only exposes style attributes set directly on the element.
More DetailsIn the sample above, click on an element in the page. The style and currentStyle of the element are displayed in the sample's table
Browser/Platform CompatibilityThese new features of Dynamic HTML are supported in Microsoft Internet Explorer 5 Beta for Windows 95 and Windows NT.