Start learning with our library of video tutorials taught by experts. Get started

Dreamweaver CS3 Essential Training

Templates in action


From:

Dreamweaver CS3 Essential Training

with Garrick Chow

Video: Templates in action

In this chapter, we're going to take a look at {italic}Dreamweaver{plain} templates and library items, which can both be a very big help, especially if we're working with a very large site. Two of the biggest challenges web designers face are making pages look consistent, and updating changes throughout an entire site. Templates and library items can help you meet both of these challenges successfully, because they make it easy to create consistent-looking pages and page elements, as well as automatically update multiple pages when changes are required. At first glance, templates and library items might look like they're very similar in the way they're used and applied. But templates are used for entire page designs.
Expand all | Collapse all
  1. 1m 12s
    1. Welcome
      1m 12s
  2. 21m 0s
    1. HTML vs. XHTML
      3m 4s
    2. What is CSS?
      3m 48s
    3. What is XML?
      2m 11s
    4. What is DHTML?
      1m 9s
    5. What is JavaScript?
      1m 23s
    6. File naming conventions
      3m 22s
    7. What is an index page?
      6m 3s
  3. 46m 18s
    1. Setting up your workspace
      2m 39s
    2. The Welcome screen
      4m 11s
    3. Windows and Mac differences
      3m 18s
    4. The Insert bar
      4m 38s
    5. The Property Inspector
      1m 50s
    6. The Document toolbar
      6m 6s
    7. The Document window
      9m 11s
    8. Panels and panel groups
      6m 58s
    9. Saving workspace layouts
      2m 22s
    10. Defining a default browser
      5m 5s
  4. 24m 59s
    1. Defining a site
      9m 5s
    2. File and folder management
      3m 11s
    3. Understanding path structure
      3m 17s
    4. Adding content to a site
      6m 6s
    5. Creating a site map
      3m 20s
  5. 38m 39s
    1. Creating a new blank site
      6m 0s
    2. Creating and saving a new document
      7m 54s
    3. About DOCTYPE
      3m 59s
    4. Inserting images
      9m 26s
    5. Inserting text
      3m 35s
    6. Aligning text and images
      4m 9s
    7. Inserting meta tags
      3m 36s
  6. 45m 58s
    1. Link basics
      6m 4s
    2. Linking with Point to File
      5m 18s
    3. External links
      4m 15s
    4. Creating email links
      5m 49s
    5. Named anchors
      7m 37s
    6. Linking to a file
      7m 35s
    7. Image maps
      9m 20s
  7. 1h 8m
    1. About CSS
      4m 52s
    2. Anatomy of a style sheet
      4m 10s
    3. CSS and page properties
      10m 11s
    4. Moving an internal style sheet to an external style sheet
      6m 46s
    5. The CSS Styles panel
      3m 48s
    6. CSS selectors
      2m 37s
    7. Type selectors
      12m 13s
    8. ID selectors
      10m 21s
    9. Class selectors
      5m 42s
    10. Creating rollovers with pseudo-class selectors
      7m 22s
  8. 42m 54s
    1. CSS vs. the Font tag
      2m 42s
    2. Formatting text with the Property Inspector
      8m 41s
    3. What measurement should I use?
      3m 15s
    4. Managing white space with margins, padding, and line height
      8m 34s
    5. Using font lists
      5m 45s
    6. Aligning text
      2m 47s
    7. Creating lists
      5m 8s
    8. Creating Flash text
      6m 2s
  9. 43m 19s
    1. About tables
      1m 28s
    2. Tables in Code view
      2m 36s
    3. Creating and adding content to tables
      7m 40s
    4. Changing table borders with XHTML
      5m 46s
    5. Coloring tables with XHTML and CSS
      6m 41s
    6. Aligning table content
      6m 39s
    7. Sorting tables
      3m 6s
    8. Setting table widths
      4m 48s
    9. Creating rounded-corner tables
      4m 35s
  10. 28m 22s
    1. Dreamweaver's layout tools
      3m 8s
    2. Tracing images
      4m 58s
    3. Adding AP div tags
      7m 29s
    4. Working with Layout Tables
      6m 55s
    5. Adjusting table widths and nesting tables
      5m 52s
  11. 16m 19s
    1. What is a device?
      3m 14s
    2. Attaching a printer-friendly style sheet
      3m 5s
    3. Styling for print
      7m 41s
    4. Adobe Device Central
      2m 19s
  12. 29m 54s
    1. Rollover rules
      3m 31s
    2. Creating simple rollovers
      5m 36s
    3. Creating disjointed rollovers
      7m 12s
    4. Creating navigation bars with multiple states
      9m 21s
    5. Creating Flash buttons
      4m 14s
  13. 26m 32s
    1. Viewing the code
      6m 9s
    2. Editing in Code view
      3m 0s
    3. The Code toolbar
      5m 11s
    4. Working with Code Collapse
      4m 27s
    5. The Quick Tag Editor
      2m 20s
    6. Working with snippets
      5m 25s
  14. 32m 45s
    1. About forms
      3m 23s
    2. Adding text fields
      9m 52s
    3. Adding checkboxes and radio buttons
      5m 37s
    4. Adding lists and menus
      6m 5s
    5. Submitting form results
      3m 23s
    6. Styling form elements with CSS
      4m 25s
  15. 23m 17s
    1. Opening a new browser window
      9m 38s
    2. Creating a popup message
      2m 50s
    3. Validating text fields
      2m 42s
    4. Getting more behaviors
      7m 2s
    5. Removing extensions
      1m 5s
  16. 14m 58s
    1. External image editor preferences
      3m 18s
    2. Built-in image editing tools
      3m 11s
    3. Roundtrip editing from Dreamweaver to Fireworks or Photoshop
      4m 39s
    4. Copying and pasting
      3m 50s
  17. 34m 16s
    1. Templates in action
      5m 12s
    2. Creating a new template
      6m 36s
    3. Applying templates
      3m 36s
    4. Modifying a template
      1m 40s
    5. Adding repeating regions
      3m 28s
    6. Working with repeating regions
      3m 13s
    7. Adding optional regions
      3m 34s
    8. Creating a library item
      3m 48s
    9. Modifying a library item
      3m 9s
  18. 13m 2s
    1. Using the History panel
      4m 24s
    2. Saving History steps as commands
      3m 25s
    3. Using Find and Replace
      5m 13s
  19. 14m 44s
    1. W3C accessibility guidelines
      4m 6s
    2. Accessibility preferences
      1m 29s
    3. Inserting accessible images
      3m 2s
    4. Inserting accessible tables
      2m 53s
    5. Inserting accessible form objects
      3m 14s
  20. 26m 17s
    1. About media objects
      2m 6s
    2. Linking to audio and video files
      5m 56s
    3. Embedding audio and video files
      7m 7s
    4. Setting parameters
      4m 27s
    5. Inserting Flash content
      2m 37s
    6. Inserting Flash video
      4m 4s
  21. 28m 47s
    1. Getting site reports
      3m 35s
    2. Checking links sitewide
      3m 30s
    3. Signing up with Tripod
      6m 36s
    4. Entering remote info
      4m 13s
    5. Publishing your site
      5m 41s
    6. Updating and publishing pages
      5m 12s
  22. 44s
    1. Goodbye
      44s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Dreamweaver CS3 Essential Training
10h 22m Beginner Apr 16, 2007

Viewers: in countries Watching now:

In Dreamweaver CS3 Essential Training, instructor Garrick Chow delves into the many powerful features of the latest version of this powerful web design application. He covers everything from the simplest basics of using Dreamweaver CS3 to applying it to develop a fully interactive, accessible site. Garrick explains the new interface features, and demonstrates how to create, edit, manage, design, and publish a professional website with Dreamweaver CS3 and complementary applications. Exercise files accompany the training.

Subject:
Web
Software:
Dreamweaver
Author:
Garrick Chow

Templates in action

In this chapter, we're going to take a look at {italic}Dreamweaver{plain} templates and library items, which can both be a very big help, especially if we're working with a very large site. Two of the biggest challenges web designers face are making pages look consistent, and updating changes throughout an entire site. Templates and library items can help you meet both of these challenges successfully, because they make it easy to create consistent-looking pages and page elements, as well as automatically update multiple pages when changes are required. At first glance, templates and library items might look like they're very similar in the way they're used and applied. But templates are used for entire page designs.

They can lack colors, fonts, Cascading Style Sheets, tables, images and even behaviors, while leaving other parts of the document editable. Once you create a template, you can create as many new pages based off that template as you need. Library items are useful for page design elements, like a navigation bar, or a copyright notice, that needs to appear on all or most of your pages. Library items are little pieces of HTML, text, or images, that you can drop anywhere on a page, whether it's template- based or not, and save yourself the time from having to create all these items by hand on each page. We'll be covering both templates and library items on this chapter.

Let's start by taking a look at templates. Probably the best way to understand templates is to see them in action. I've already defined the teacloud 16 folder. I copied the 16_templates_library folder to my desktop. If you have access the exercise files, you can do the same. In my Files panel, you might notice that we have a Library folder and a Templates folder. {italic}Dreamweaver {plain}automatically creates these folders when you create a template, or a library item. If you don't use templates or library items, {italic}Dreamweaver{plain} won't put these folders into your directory structure. Also, the Templates and Library folders don't need to be uploaded to your server when you publish it to the web, unless you're working with another web designer who needs them. Otherwise, they are for {italic}Dreamweaver {plain}use only, and they only need to stay here locally on your computer.

Okay, in here I'm going to open up the file abouttea.html. This looks like several of the other pages we worked with so far. But you can tell this page has been created based off of a template for several reasons, which we'll be getting to shortly. Several other of the pages of my site have also been created from the same template. For instance, if I look inside the abouttea folder, we have fromthefields, we have teatypes, and you can see that each one of these looks very similar. The only real difference is what comes after the About Tea, and the actual page content down here. Let's just work with one file now. I'm just going to close everything, except abouttea.html.

When you open up a file with a template attached to it, you'll see a tab in the upper right hand corner identifying the name of the template. In this case, the template is called abouttea. You'll see tabs around each of the templates' editable regions. Notice that when I place my mouse over any other area of the page, I get that "no" symbol. I come into one of these editable areas, I get a cursor, and I can come here and start working with the text there, and up here. Everywhere else on my page is completely off limits. I can't click these images at the top to select them, or any of the text over here. I can't click the logo, or anywhere else on my page, outside of these editable regions.

That's one of the strengths of working with templates. You can decide which portions of the page are editable. You don't have to worry about accidentally changing other parts of the page. If I go over to my Assets panel, and I come down here, and select the Templates icon, you'll see a list of all the templates in your site. I'm just going to make that bigger. You can scroll through here, and actually see the template. Let's say I want to change my template. Instead of About Tea, I want this to say About Teacloud Tea. What I need to do, is come over to my Assets panel, find the template I'm using on this page, and double click it.

I've opened the template. Notice at the top here it says <