- Creating New Files
- Getting a Head Start
- Turning off the New Document Dialog Box
- Opening Files
- Creating Content
- Page Properties
- Modifying the Page Color and Background
- Saving Your Work
- Saving a Copy of a File
- Previewing in a Browser
- Printing from the Browser Window
- Colors and Web Pages
- Colors and Windows
- Colors for the Mac
Opening Files
If you have previously created HTML files that you want to update, you can open them with Dreamweaver. Dreamweaver won't change your code, but it may alert you of errors such as redundant or unclosed tags (see Chapter 4).
When you open a file in Dreamweaver, it will appear in a new Document window.
To open a file:
From the Document window menu bar, select File > Open. The Open dialog box will appear (Figures 3.12 and 3.13).
Figure 3.12 Use the Open dialog box to select a file on your computer to open in the Document window. By default, the Open dialog box first looks in the last folder that you opened within the current local site.
Figure 3.13 The Open dialog box looks a little different on the Mac, but it works the same way.
Browse through the files and folders on your computer, and select a file you want to open.
By default, the Open File dialog box lists files categorized as All Documentsnot only .htm and .html, but .xml, .asp, .css, and so on).
You may narrow your selection. If the file extension is not .htm or .html (you're opening a .cgi or .asp file, for instance), you may select a specific file type from the Files of Type list box. (On the Mac, select the file type, or All Documents from the Show drop-down menu. See Figure 3.13.)
Click Open. The file will appear in a new Document window.
Tips
You can open the last four files you viewed with Dreamweaver by selecting them from the File menu (Figure 3.14).
Figure 3.14 Open the last four files that you've edited in Dreamweaver by selecting their names from the File menu.
By default, Dreamweaver will look in the last open folder from the current, open local site. See Chapter 2 for more on using local sites to keep track of files.