Changing default html formatting, About vertical split view – Adobe Extending Dreamweaver CS4 User Manual
Page 76

70
EXTENDING DREAMWEAVER CS4
Customizing Code view
•
message="message_string"
The
message
attribute defines a message string that Dreamweaver displays when it
finds the property value in a document. If the
message
attribute is omitted, Dreamweaver displays a message string
of “value_name is not supported.”
Contents
None.
Container
property
Example
<property name="margin">
<value type="units" name="ex" supportlevel="warning"
message="The implementation of ex units is buggy in Safari 1.0."/>
<value type="units" names="%,em,px,in,cm,mm,pt,pc"/>
<value type="named" name="auto"/>
<value type="named" name="inherit"/>
</property>
Changing default HTML formatting
To change general code formatting preferences, use the Code Format category of the Preferences dialog box. To
change the format of specific tags and attributes, use the Tag Library Editor (Edit > Tag Libraries). For more
information, see Using Dreamweaver on the Dreamweaver Help menu.
You can also edit the formatting for a tag by editing the VTM file that corresponds to the tag (in a subfolder of the Tag
Libraries configuration folder), but it’s much easier to change formatting within Dreamweaver.
If you add or remove a VTM file, you must edit the TagLibraries.vtm file; Dreamweaver ignores any VTM file that is
not listed in TagLibraries.vtm.
Note: Edit this file in a text editor, not in Dreamweaver.
About Vertical Split view
The Vertical Split view feature supports a side-by-side view of either code and design or code and code layout modes.
Users with dual screen workstation setups can use this feature to display code on one monitor while using their second
monitor for working in Design view.
The Vertical Split view feature enables the user to:
•
Choose the orientation of Code and Design view (horizontal or vertical).
•
Switch between horizontal and vertical orientations of the Code and Design view and Split code.
Restarting Dreamweaver and opening or creating a document shows the document in the Code and Design view with
the last used size and orientation. The
dreamweaver.setSplitViewOrientation()
function sets the orientation and
dreamweaver.setPrimaryView()
sets the primary view. For information on using these functions, see "Vertical Split
view functions" in the Dreamweaver API Reference.