Classroom in A Book: Instructor Notes
Classroom in A Book: Instructor Notes
® ®
classroom in a book ®
Instructor Notes
Adobe® Dreamweaver® CS4 Classroom in a Book
© 2009 Adobe Systems Incorporated and its licensors. All rights reserved.
If this guide is distributed with software that includes an end user agreement, this guide, as well as the software
described in it, is furnished under license and may be used or copied only in accordance with the terms of such
license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval
system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without
the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is pro-
tected under copyright law even if it is not distributed with software that includes an end user license agreement.
The content of this guide is furnished for informational use only, is subject to change without notice, and
should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated
assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational
content contained in this guide.
Please remember that existing artwork or images that you may want to include in your project may be
protected under copyright law. The unauthorized incorporation of such material into your new work could
be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the
copyright owner.
Any references to company names in sample files are for demonstration purposes only and are not intended
to refer to any actual organization.
Adobe, the Adobe logo, Classroom in a Book, Dreamweaver, Fireworks, Flash, and Photoshop are either regis-
tered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Apple, Mac, and Macintosh are trademarks of Apple, registered in the U.S. and other countries. Microsoft,
Windows, and Windows NT are trademarks of Microsoft Corporation registered in the U.S. and/or other
countries. All other trademarks are the property of their respective owners.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110-2704, USA
Notice to U.S. Government End Users. The Software and Documentation are “Commercial Items,” as that
term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial
Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as
applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §§227.7202-1 through 227.7202-4, as applicable,
the Commercial Computer Software and Commercial Computer Software Documentation are being licensed
to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to
all other end users pursuant to the terms and conditions herein. Unpublished-rights reserved under the copy-
right laws of the United States. Adobe Systems Incorporated, 345 Park Avenue, San Jose, CA 95110-2704,
USA. For U.S. Government End Users, Adobe agrees to comply with all applicable equal opportunity laws
including, if appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam
Era Veterans Readjustment Assistance Act of 1974 (38 USC 4212), and Section 503 of the Rehabilitation Act
of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60, 60-250, and 60-741. The affir-
mative action clause and regulations contained in the preceding sentence shall be incorporated by reference.
Adobe Press books are published by Peachpit, a division of Pearson Education located in Berkeley, California.
For the latest on Adobe Press books, go to www.adobepress.com. To report errors, please send a note to
[email protected]. For information on getting permission for reprints and excerpts, contact permissions@
peachpit.com.
Writer: Virginia DeBolt
Project Editor: Nancy Peterson
Production Editor: Cory Borman
Development Editor: Bob Lindstrom
Technical Editors: Jim Maivald, Judith Stern
Copyeditors: Elissa Rabellino, Dan Foster
Compositor: Owen Wolfson
Indexer: Karin Arrigoni
Media Producer: Eric Geoffroy
Cover Design: Eddie Yuen
Interior Design: Mimi Heft
Printed in the USA
Book:
ISBN-13: 978-0-321-57381-0
ISBN-10: 0-321-57381-1
Instructor notes:
ISBN-13: 978-0-321-61928-0
ISBN-10: 0-321-61928-5
Instructor Notes
Introduction
The Adobe® Dreamweaver® CS4 Classroom in a Book™ course provides students
with techniques, tips, and solutions for using the Adobe Dreamweaver CS4 soft-
ware. These instructor notes are intended to complement the information in the
Adobe Dreamweaver CS4 Classroom in a Book. The information in these notes is
organized to follow the sequence of instruction in each lesson.
Course strategy
This book consists of 11 lessons. If you cover one lesson per week, students will
have time at the end of the semester to work on their own, constructing a new site
using the Dreamweaver tools.
The lesson exercises are designed so that students are introduced to the impor-
tant Dreamweaver tools and functions. All the new or enhanced features added in
Dreamweaver CS4 are included in the exercises.
While completing the exercises, students create a complete website for a fictitious
travel company. They also create a few pages unrelated to the travel site simply as
practice exercises. Students primarily use the built-in CSS layouts; however, they
also build their own CSS layout in Lesson 7.
You can evaluate each student based on his weekly completion of the lesson exer-
cises. Requiring a student to design and build her own original website is a good
culmination activity and could serve as a final exam.
The following lessons discuss enhanced and new features in Dreamweaver CS4:
• Lesson 1 introduces Live view. Live view is a full browser rendering inside
Dreamweaver. Scripts run, links work, and movies play. Students can toggle
between Design, Code, and Live views with the click of a mouse button.
4 Instructor Notes
Managing student projects
One way to simplify file storage and retrieval in the classroom is to instruct stu-
dents to create a main folder on their hard disks and name it [Student’s Name]
Lessons or [Student’s Name] DW CIB, and then copy each project folder into the
main folder. Having students save all of their working files to their own main folder
makes it easy for you to clean up files when a course is completed.
The Lesson folder structure for each student, when complete, will look like this:
To save hard drive space, the individual lesson folders can be copied and deleted
as necessary; but the images, SpryAssets, and Scripts folder should remain in the
student’s Lessons or DW CIB folder at all times during the course.
Additional resources
Instructors and users of Dreamweaver rely on a variety of resources to supplement
their knowledge of the program. You may find the following resources useful to
explore.
Dreamweaver Help
The Help contents installed with Dreamweaver include complete descriptions of
all of its features, including topics not covered in the Dreamweaver User Guide
(see below). They also contain links to movies that showcase new CS4 features and
techniques.
Application DVD
The Adobe Dreamweaver CS4 application DVD contains the Adobe Technical Info
folder, PDF files of the User Guide and Quick Reference Card, demo versions of
products by Adobe and other manufacturers, and the Adobe Dreamweaver CS4
Software Development Kit.
6 Instructor Notes
make sure that students understand the difference between fixed pixel width and
stretchy layouts. You might also demonstrate the difference between the layouts by
opening up an example of each and enlarging the text and expanding the window
in a browser to show students how a layout changes when based on percent or ems
compared with pixels. All the exercises in the book involve fixed-width designs, so
students will benefit from time spent explaining the features of other Dreamweaver
CSS layouts.
Saving a page
When saving the page, make sure to explain the process of locating the student’s
main folder and saving the file in its lesson01 subfolder. The CSS file should also be
saved in that lesson01 folder.
8 Instructor Notes
three-column pages) could be used in a single site and with a single style sheet.
Examples throughout the book show how to shorten some of the selector names
(making them less specific). The first rule that students create, #mainContent h1,
is an example of a less specific selector name than the selector that Dreamweaver
suggests.
Students are shown how to use the color picker to select a color from the header
background image, but it’s a bit tricky to locate the exact shade of blue (#345FA3)
suggested using the color picker. Typing the number in the color field is encour-
aged, and it demonstrates that data fields in the CSS Rule Definition dialog box are
all editable and accept typed input. This might be a good time to talk about the way
hexadecimal color names work. Note that Dreamweaver now uses the shorthand
hexadecimal numbers, such as #000, #FFF, #666, for web-safe colors. You may want
to explain that a number like #345FA3 cannot be reduced to shorthand, but a num-
ber with matching pairs, such as #000066, can be expressed as #006.
The basics of the box model are touched on when the students create a new CSS
rule. This is a good time to briefly explain the box model. A good resource of infor-
mation is the CSS Box Model Hierarchy (www.hicksdesign.co.uk/boxmodel).
Applying styles
Students click the CSS button in the Properties panel to find classes that have been
defined in the external style sheet, and then apply them to the page.
Floating images
Students use float to move images to the left side of the containing element
and learn a bit about the frequent need to use clear with floated elements.
At this point, if you’d like to discuss floats, a good reference source is Digital
Importing text
To help students understand that web designers often receive content from
multiple sources, they’ll practice importing text from a .txt file. When the text has
been placed on the page, students use the Properties panel to format it. You could
Spell-checking a document
You may want to provide students with a page of Dreamweaver content that
includes more misspelled words than are in this exercise. Emphasize that mis-
spelled words on a website can be sufficient reason for most people to question the
professionalism and competence of the site and the information it contains.
Inserting an image
Image placeholders are used in this lesson to help students locate the positions
for the images. The first image placement is a straightforward exercise in adding
an <img> element to the page. This is a good time to discuss the importance of alt
text and the principles behind writing good alt text. Two helpful alt text resources
are “Writing good ALT text” (www.gawds.org/show.php?contentid=28) and “How
to Write Good Alt Text for the Images on Your Web Page” (www.ehow.com/
how_2110225_alt-text-images-web-page.html).
A helpful reference for understanding CSS layouts is “The Early Bird Catches the
CSS: Planning Structural HTML” (www.wise-women.org/tutorials/cssplanning/
index.shtml).
Inserting placeholders
You may want to tie this section in to the concept of wireframing. The completed
layout is a type of wireframe, as are all of the built-in CSS layouts that come with
Dreamweaver.
Creating a fieldset
Encourage students to use Code and Design view when adding fieldsets, so they
know exactly what they are including. The Spry Form Validation widgets used in
these exercises add additional code to the page (the error messages are stored in a
<span> that isn’t visible unless needed) that may not always get properly selected
when choosing what to include in a fieldset in Design view.
Styling Forms
A helpful supplemental article is “Styling Forms with CSS—Part 1:
Accessibility and Form Element Styles” (www.adobe.com/devnet/dream-
weaver/articles/styling_forms_pt1.html). You may also want to direct stu-
dents to an article about browser default styles for forms, “Styling form
controls with CSS, revisited” (www.456bereastreet.com/archive/200701/
styling_form_controls_with_css_revisited).
You can explain additional CSS rules that can alter the appearance of forms, includ-
ing adding background colors or images to fieldsets, changing font rules for labels,
styling margins and padding for form elements, and so on.
Also point out that CSS rules for a form do not have to be isolated in a separate
style sheet. They can be part of a site’s main style sheet. This exercise allows stu-
dents to experience creating a new style sheet and linking it to the page, but it also
shows how to incorporate form styles in the main site style sheet.
Creating a template
In this exercise, students save one of the travel site pages as a template. When
creating a template in this way, links to style sheets and other material in the
document head are already placed in the template. Point out that any changes to
documents linked to the template, such as the style sheets, will be reflected in pages
built using the template.
Updating a template
If you can, demonstrate a site built with templates from the start of the design
process and show students how Dreamweaver updates each child page when a tem-
plate file is updated.