543482 FM.qxd 3/18/04 3:01 PM Page i Dreamweaver MX 2004 ® in 10 Simple Steps or Less 543482 FM.qxd 3/18/04 3:01 PM Page ii 543482 FM.qxd 3/18/04 3:01 PM Page iii Dreamweaver MX 2004 ® in 10 Simple Steps or Less Joyce J. Evans 543482 FM.qxd 3/18/04 3:01 PM Page iv Dreamweaver® MX 2004 in 10 Simple Steps or Less Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2004 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 0-7645-4348-2 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 1O/QS/QU/QU/IN No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sec- tions 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Cen- ter, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4447, E-Mail: [email protected]. The publisher and the author make no representations or warranties with respect to the accuracy or complete- ness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Website may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (800) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Library of Congress Control Number: 2004101968 Trademarks: Wiley, the Wiley Publishing logo, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without written permission. Dreamweaver is a registered trademark of Macromedia, Inc. in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc. is not associated with any product or vendor mentioned in this book. 543482 FM.qxd 3/18/04 3:01 PM Page v To my loving family for all their support and care. 543482 FM.qxd 3/18/04 3:01 PM Page vi Credits Acquisitions Editor Project Coordinator Chris Webb Ryan Steffen Developmental Editor Graphics and Production Specialists Sharon Nash Beth Brooks Carrie Foster Production Editor Lauren Goddard Felicia Robinson Jennifer Heleine LeAndra Hosier Copy Editor Kristin McMullan Joanne Slike Lynsey Osborn Editorial Manager Quality Control Technicians Kathryn Malm John Greenough Brian Walls Vice President & Executive Group Publisher Richard Swadley Book Designer Kathie S. Schnorr Vice President and Executive Publisher Bob Ipsen Proofreading Sossity Smith Vice President and Publisher Joseph B. Wikert Indexing Sherry Massey 543482 FM.qxd 3/18/04 3:01 PM Page vii About the Author Joyce J. Evans is a training veteran with over 10 years of experience in educational teaching, tutorial development, and Web design. She has spoken at conferences such as Macromedia MAX 2003 and TODCON. Joyce has received Editor’s Choice Awards for her book Fireworks 4 F/X and Design and has authored numerous computer books, including Dreamweaver MX (and MX 2004) Complete Course, Web Design Complete Course, and Fireworks MX (and MX 2004): Zero to Hero. Joyce is a Team Macromedia Volunteer and her work is also be featured in the Macromedia Design/Developer center and the MX Developers Journal magazine. She can be reached at [email protected]. Her personal Web site is www.JoyceJEvans.com, and her design business, Idea Design (www.je-ideadesign.com), has clients such as a Century 21 and prominent colleges in Florida and is a subcontractor for a local ser- vice provider. Joyce also actively teaches new students how to use the Macromedia Studio products. Joyce lives with her husband, teenage son, dog, and cat in the Tampa Bay area in Florida. When Joyce isn’t doing Web design, she can be found at the beach or managing her Real Estate investment company. 543482 FM.qxd 3/18/04 3:01 PM Page viii About the Contributors Murray R. Summers wrote Part 10, on templates and Library items. Paul Vachier wrote Part 9 on using CSS styles and Part 11 on working with code. Brad Halstead contributed to Parts 1, 3, and 4. Caleb John Clark contributed to Part 2. 543482 FM.qxd 3/18/04 3:01 PM Page ix Acknowledgments T he task of writing these long computer books is a daunting one, and it is a process that requires sig- nificant contributions from many people who help these projects see their way to completion. For this project, I need to thank the entire team at Wiley, including Sharon Nash and Chris Webb, as well as all the myriad others involved in preparing, designing, and producing the books there. I also need to thank my family for their patience during the writing of the book. In particular, my husband, Martin, and son, Derek, deserve credit for tolerating the time I had to devote to the preparation of this book. They took up much of the housework and meal preparations. I’d also like to thank each of the contributors who wrote a portion of the book or contributed to a specific part. I’d also like to thank the crew at Macromedia who work so diligently to produce such a superb applica- tion. Special thanks go to Heather Hollaender, who always made sure I had the resources I needed, and to Scott Unterberg for the privilege of being included in the beta testing.