Document window overview
The
Document window shows the current document. You can select any of
the following views:
- Design view
- A design environment for visual page layout, visual editing,
and rapid application development. In this view, Dreamweaver displays a fully editable, visual
representation of the document, similar to what you would see when
viewing the page in a browser.
- Code view
- A hand-coding environment for writing and editing HTML, JavaScript,
server‑language code—such PHP or ColdFusion Markup Language (CFML)—and
any other kind of code.
- Split Code view
- A split version of Code view that lets you scroll to work
on different sections of the document at the same time.
- Code and Design view
- Lets you see both Code view and Design view for the same
document in a single window.
- Live view
- Similar to Design view, Live view displays a more realistic
representation of what your document will look like in a browser,
and lets you interact with the document exactly as you would in
a browser. Live view is not editable. However, you can edit in Code
view and refresh Live view to see your changes.
- Live Code view
- Only available when viewing a document in Live view. Live Code
view displays the actual code that a browser uses to execute the
page, and can dynamically change as you interact with the page in
Live view. Live Code view is not editable.
When a Document window is maximized (the default), tabs appear
at the top of the Document window showing the filenames of all open
documents. Dreamweaver displays an asterisk
after the filename if you’ve made changes that you haven’t saved
yet.
To switch to a document, click its tab.
Dreamweaver also displays the Related Files toolbar below the
document’s tab (or below the document’s title bar if you’re viewing
documents in separate windows). Related documents are documents
associated with the current file, such as CSS files or JavaScript
files. To open one of these related files in the Document window,
click its filename in the Related Files toolbar.