Create a blank template – Adobe Dreamweaver CC 2014 v.13 User Manual
Page 331
Add To Head
Create New File
Link To Existing File
Note:
Adds CSS for the layout to the head of the page you’re creating.
Adds CSS for the layout to a new external CSS file and attaches the new style sheet to the page you’re creating.
Lets you specify an existing CSS file that already contains the CSS rules needed for the layout. To do this, click the
Attach Style Sheet icon above the Attach CSS file pane and select an existing CSS style sheet. This option is particularly useful when you
want to use the same CSS layout (the CSS rules for which are contained in a single file) across multiple documents.
6. (Optional) You can also attach CSS style sheets to your new page (unrelated to the CSS layout) when you create the page. To do this, click
the Attach Style Sheet icon
above the Attach CSS File pane and select a CSS style sheet.
For a detailed walk-through of this process, see David Powers’s article,
.
7. Select Enable InContext Editing if you want to create a page that becomes InContext Editing-enabled as soon as you save it.
An InContext Editing-enabled page must have at least one div tag that can be specified as an editable region. For example, if you’ve
selected the HTML page type, you must select one of the CSS layouts for your new page, since these layouts already contain pre-defined
div
tags. The InContext Editing editable region is automatically placed on the div tag with the content ID. You can later add more editable
regions to the page if you like.
InContext Editing is removed in Dreamweaver CC and later.
8. Click Preferences if you want to set default document preferences, such as a document type, encoding, and a file extension.
9. Click Get More Content if you want to open Dreamweaver Exchange where you can download more page design content.
10. Click the Create button.
11. Save the new document (File > Save).
12. In the dialog box that appears, navigate to the folder where you want to save the file.
It’s a good idea to save your file in a Dreamweaver site.
13. In the File Name box, type a name for the file.
Avoid using spaces and special characters in file and folder names, and do not begin a filename with a numeral. In particular, do not use
special characters (such as é, ç, or ¥) or punctuation marks (such as colons, slashes, or periods) in the names of files you intend to put on a
remote server; many servers change these characters during upload, which will cause any links to the files to break.
Create a blank template
You can use the New Document dialog box to create Dreamweaver templates. By default, templates are saved in the Templates folder of your
site.
1. Select File > New.
324