Specifications

495
HTML style functions
HTML style functions handle applying, creating, and deleting HTML styles. Methods of the
dreamweaver.htmlStylePalette object either control or act on the selection in the HTML
Styles panel, not in the current document.
dom.applyHTMLStyle()
Availability
Dreamweaver 3
Description
Applies the specified HTML style to the current selection. This function is valid only for the
active document.
Arguments
htmlStyleName
Returns
Nothing.
dreamweaver.htmlStylePalette.deleteSelectedStyle()
Availability
Dreamweaver 3
Description
Removes the selected style from the HTML Styles panel.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.htmlStylePalette.canEditSelection()” on page 426
dreamweaver.htmlStylePalette.duplicateSelectedStyle()
Availability
Dreamweaver 3
Description
Duplicates the selected style and opens the Define HTML Style dialog box.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.htmlStylePalette.canEditSelection()” on page 426