Setting code rewriting preferences

When you open a document, Dreamweaver fixes (or rewrites) certain kinds of technically illegal code, depending on which code rewriting preferences you specify. These preferences have no effect when you edit HTML or scripts in Code view.

If you disable the rewriting options, Dreamweaver displays invalid-markup items in the Document window for HTML that it would have rewritten.

To set code rewriting preferences:

  1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
  2. Select Code Rewriting from the Category list on the left.

    The Code Rewriting preferences appear.

  3. Adjust any of the settings in the dialog box.

    For more information, see Setting the code rewriting preference options.

Related topics