beautypg.com

Create a blank template – Adobe Dreamweaver CC 2015 User Manual

Page 98

background image

91

File management

Last updated 6/3/2015

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,

Automatically attaching a style sheet to new

documents

.

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.

Note: 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.

2

In the New Document dialog box, select the Blank Template category.

3

Select the kind of page you want to create from the Template Type column. For example, select HTML template to
create a plain HTML template, select ColdFusion template to create a ColdFusion template, and so on.

4

If you want your new page to contain a CSS layout, select a predesigned CSS layout from the Layout column;
otherwise, select None. Based on your selection, a preview and description of the selected layout appears on the right
side of the dialog box.

The predesigned CSS layouts provide the following types of columns:

Fixed

Column width is specified in pixels. The column does not resize based on the size of the browser or the site

visitor’s text settings.