User Guide

420 Design
Example
The following example turns off rendering for Internet Explorer:
if (cssStylePalette.getInternetExplorerRendering()){
cssStylePalette.setInternetExplorerRendering(false);
}
cssStylePalette.setInternetExplorerRendering()
Availability
Dreamweaver 8.
Description
This function instructs Dreamweaver to render for Internet Explorer or the CSS specification.
Arguments
internetExplorerRendering
The internetExplorerRendering argument, which is required, indicates whether to
render for Internet Explorer (
true) or to render for the CSS specification (false).
Returns
Nothing.
Example
See cssStylePalette.getInternetExplorerRendering()” on page 419.
dom.applyCSSStyle()
Availability
Dreamweaver 4.
Description
Applies the specified style to the specified element. This function is valid only for the active
document.
Arguments
elementNode, styleName, {classOrID}, {bForceNesting}
The elementNode argument is an element node in the DOM. If the elementNode
argument is a
null value or an empty string (""), the function acts on the current
selection.
000_DW_API_Print.book Page 420 Wednesday, July 20, 2005 11:58 AM