Customizing a Dreamweaver template
- In Dreamweaver: File, New, Blank Template
- Template type= html template
- Select a layout that you like – the number of columns, headers/footers if desired, fixed, hybrid, or liquid, etc.
- Then, over on the right side of the screen, select Layout CSS: New File .
- Select the Create button and save the css with a name and location you use for your css files
- Modify the css (now in a separate file) to get the colors / banner that you want to use, the size of the different areas you need, etc.
- Plan how you're going to use include files (for navigation or banner, or static text, or footers or sidebar links or all of the above) and put these placeholder lines into the template in the correct area. (syntax is:
<!--#include virtual="/webclass/yourname/includes/menu.html" --> NOTE: NO SPACE HERE: <!--#include - Now Save as a template in Dreamweaver (File, Save As Template).
- Now add Editable Regions to your file, making sure to exclude #include lines and <div> labels.
- Select the entire area between the divs, and then select Insert, Template Objects, Editable Regions.
- Name the region so you'll recognize it.
- Repeat a, b to do all the editable areas of the template.
- Then to make a page for your new site, in Dreamweaver say File, New, Page From Template, add content and save as .shtml to your web folder and then ftp it to the site!
- Repeat steps 1-4 for additional layouts, all of which should use the same css.

See full-size picture of this screenshot
Page Updated
01.24.2010
