Janine Warner Award-winning video host, author, and Web designer Learn to: • Design and publish a Web site • Develop beautiful, accessible sites with CSS and XHTML • Add interactivity with drop-down menus and rollovers • Use Dreamweaver to create and edit templates Dreamweaver ® CS5 Making Everything Easier! ™ Open the book and find: • How to manage, organize, test, and publish Web sites • Ways to work with text, graphics, and links • Design advice on what looks good and what to avoid • Steps for gaining control over design and layout with Dreamweaver’s CSS tools • Techniques for including rollover images, pop-up windows, and more • Tips for adding forms and multimedia • How to manage and update a site with Business Catalyst Janine Warner is a bestselling author whose books and videos on Web design have won her an international following and earned her speaking and consulting engagements around the world. She runs a Web design and consulting firm and offers tutorials, books, and training videos at www.DigitalFamily.com. Internet/Web Site Design $24.99 US / $29.99 CN / £17.99 UK ISBN 978-0-470-61076-3 Go to Dummies.com ® for videos, step-by-step examples, how-to articles, or to shop! Get up to speed fast and start creating great Web sites! Whether you’re a beginner or an experienced Web developer, you’ve come to the right place. With this handy guide you’ll go from designing your first page to putting your Web site online in no time. Web design expert Janine Warner walks you step-by-step through all the essential features of Dreamweaver CS5 and helps you launch the Web site you’ve always wanted. • Learn the basics — gain a better understanding of the basic concepts of Web design and the main features of Dreamweaver • Start testing and publishing — test your site in different Web browsers, fix broken links, manage linked files, and get your site uploaded to the Web as soon as it’s ready • Working with a team — use the Check In/Check Out feature to make it easier to manage a site when collaborating with a group • Save time with styles — dive into cascading style sheets to format content • Achieve more consistent designs — utilize sophisticated template capabilities to improve your site’s look and make global updates • Take your site to the next level — spice up your pages by integrating interactive images, video, and Flash • Explore the Spry Framework — include interactive features like drop-down menus and collapsible panels without writing code • Extend Dreamweaver’s functionality — take advantage of new online tools to set up a shopping cart, add traffic tracking, and more Dreamweaver ® CS5 Warner spine=.912” Mobile Apps There’s a Dummies App for This and That With more than 200 million books in print and over 1,600 unique titles, Dummies is a global leader in how-to information. Now you can get the same great Dummies information in an App. With topics such as Wine, Spanish, Digital Photography, Certification, and more, you’ll have instant access to the topics you need to know in a format you can trust. To get information on all our Dummies apps, visit the following: www.Dummies.com/go/mobile from your computer. www.Dummies.com/go/iphone/apps from your phone. Start with FREE Cheat Sheets Cheat Sheets include • Checklists • Charts • Common Instructions • And Other Good Stuff! Get Smart at Dummies.com Dummies.com makes your life easier with 1,000s of answers on everything from removing wallpaper to using the latest version of Windows. Check out our • Videos • Illustrated Articles • Step-by-Step Instructions Plus, each month you can win valuable prizes by entering our Dummies.com sweepstakes. * Want a weekly dose of Dummies? Sign up for Newsletters on • Digital Photography • Microsoft Windows & Office • Personal Finance & Investing • Health & Wellness • Computing, iPods & Cell Phones • eBay • Internet • Food, Home & Garden Find out “HOW” at Dummies.com *Sweepstakes not currently available in all countries; visit Dummies.com for official rules. Get More and Do More at Dummies.com ® To access the Cheat Sheet created specifically for this book, go to www.dummies.com/cheatsheet/dreamweavercs5 spine=.912” Dreamweaver ® CS5 FOR DUMmIES ‰ 01_610763-ffirs.indd i01_610763-ffirs.indd i 3/23/10 12:05 AM3/23/10 12:05 AM 01_610763-ffirs.indd ii01_610763-ffirs.indd ii 3/23/10 12:05 AM3/23/10 12:05 AM by Janine Warner Dreamweaver ® CS5 FOR DUMmIES ‰ 01_610763-ffirs.indd iii01_610763-ffirs.indd iii 3/23/10 12:05 AM3/23/10 12:05 AM Dreamweaver ® CS5 For Dummies ® Published by Wiley Publishing, Inc. 909 Third Avenue New York, NY 10022 www.wiley.com Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada 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 permit- ted under Sections 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 Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http:// www.wiley.com/go/permissions. Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, Making Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/ or its af liates in the United States and other countries, and may not be used without written permission. Dreamweaver is a registered trademark of Adobe Systems, Incorporated. 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. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITH- OUT 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 ORGANIZA- TION 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, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. For technical support, please visit www.wiley.com/techsupport. 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: ISBN: 978-0-470-61076-3 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 01_610763-ffirs.indd iv01_610763-ffirs.indd iv 3/23/10 12:05 AM3/23/10 12:05 AM About the Author Janine Warner is an author, journalist, and partner in the Web design and consulting rm Artesian Media, Inc. Her best-selling books and videos on Web design have won her an international following and earned her speaking and consulting engagements around the world. Since 1995, she’s written and coauthored more than a dozen books about the Internet, including every version of Dreamweaver For Dummies, Web Sites Do-It-Yourself For Dummies, and Teach Yourself Visually Dreamweaver. She’s also the host of a series of training videos on Dreamweaver and Web design for Kelby Media and Total Training. Her rst videos on Dreamweaver have won two multiple industry awards, and excerpts of her videos are fea- tured on both Microsoft.com and Adobe.com. Janine is a popular speaker at conferences and events throughout the United States and abroad, and she’s taught online journalism courses at the University of Southern California and the University of Miami. An award-winning journalist, her articles and columns have appeared in a variety of publications, including The Miami Herald, Shape Magazine, and the Pulitzer Prize-winning Point Reyes Light newspaper. She also writes a regular column about Dreamweaver for Layers magazine. Janine has extensive Internet experience working on large and small Web sites. From 1994 to 1998, she ran Visiontec Communications, a Web design business in Northern California, where she worked for a diverse group of clients including Levi Strauss & Co., AirTouch International, and many other small- and medium-size businesses. In 1998, she joined The Miami Herald as their Online Managing Editor. A year later, she was promoted to Director of New Media. She left that position to serve as Director of Latin American Operations for CNET Networks, an inter- national technology media company. Since 2001, Janine has run her own business as a writer, speaker, and con- sultant. She lives and works with her husband in Los Angeles. To learn more, visit www.JCWarner.com or www.DigitalFamily.com. 01_610763-ffirs.indd v01_610763-ffirs.indd v 3/23/10 12:05 AM3/23/10 12:05 AM 01_610763-ffirs.indd vi01_610763-ffirs.indd vi 3/23/10 12:05 AM3/23/10 12:05 AM Dedication To all those who dare to imagine all the ways we can develop sites on the Web: May all your dreams come true. 01_610763-ffirs.indd vii01_610763-ffirs.indd vii 3/23/10 12:05 AM3/23/10 12:05 AM 01_610763-ffirs.indd viii01_610763-ffirs.indd viii 3/23/10 12:05 AM3/23/10 12:05 AM [...]... can go to sleep tonight and know I haven’t forgotten anyone 01_610763-ffirs.indd ix 3/23/10 12:05 AM Publisher’s Acknowledgments We’re proud of this book; please send us your comments at http:/ /dummies. custhelp.com For other comments, please contact our Customer Care Department within the U.S at 87 7-7 6 2-2 974, outside the U.S at 31 7-5 7 2-3 993, or fax 31 7-5 7 2-4 002 Some of the people who helped bring this... DigitalFamily.com/dwd 03_610763-intro.indd 1 3/23/10 12:06 AM 2 Dreamweaver CS5 For Dummies What’s New in Dreamweaver CS5? Dreamweaver’s high-end features make it the preferred choice for professional Web designers, and its easy-to-use graphical interface makes it popular among novices and hobbyists as well With each new version, Dreamweaver’s become more powerful and feature-rich — but this upgrade is... is designed for professional developers, I don’t assume you’re a pro — at least not yet In keeping with the philosophy behind the For Dummies series, this book is an easy-to-use guide designed for readers with a wide range of experience If you’re interested in Web design and want to create a Web site, that’s all I expect from you If you’re an experienced Web designer, Dreamweaver CS5 For Dummies is... 03_610763-intro.indd 7 3/23/10 12:06 AM 8 Dreamweaver CS5 For Dummies This icon signals technical stuff that you may find informative and interesting, though it isn’t essential for using Dreamweaver Feel free to skip over this information This icon indicates a tip or technique that can save you time and money — and a headache — later This icon warns you of any potential pitfalls — and gives you the all-important... cover Dreamweaver’s HTML form options, which you can use to add feedback forms, surveys, and much more In Chapter 12, you discover how great the Spry features are for adding AJAX interactivity to your site In this chapter, you find instructions for creating and customizing drop-down lists, collapsible panels, and more In Part III, Chapter 13, you also learn the basics of how database-driven Web sites work... Your Site 411 Telling Everyone You Know 411 Index 413 02_610763-ftoc.indd xix 3/23/10 12:05 AM xx Dreamweaver CS5 For Dummies 02_610763-ftoc.indd xx 3/23/10 12:05 AM Introduction I n the 15-plus years that I’ve been writing about Web design, I’ve seen many changes — from the early days (before Dreamweaver even existed) when you could create only simple pages with HTML 1.0, to... CSS Styles Panel 164 Looking for conflicts in Current mode 164 Working with the big picture in All mode 165 Creating and listing styles 167 02_610763-ftoc.indd xv 3/23/10 12:05 AM xvi Dreamweaver CS5 For Dummies Switching between CSS and HTML Mode in the Property Inspector 168 Organizing Style Sheets 169 Saving time with ready-made style sheets 170 Attaching... numbered step lists to walk you through the process 03_610763-intro.indd 4 3/23/10 12:06 AM Introduction 5 What You’re Not to Read If you’re like most of the Web designers I know, you don’t have time to wade through a thick book before you start working on your Web site That’s why I wrote Dreamweaver CS5 For Dummies in a way that makes it easy for you to find the answers you need quickly You don’t have... and Other Services to Host Videos 309 02_610763-ftoc.indd xvii 3/23/10 12:05 AM xviii Dreamweaver CS5 For Dummies Working with Java 311 Inserting Java applets 312 Setting Java parameters and other options 313 Linking to PDFs 314 Chapter 11: Forms Follow Function .315 Creating HTML Forms 316 Creating radio buttons and check... know For their contributions to this book, special thanks to photographer Jasper Johal (www.jasperphoto.com); to designer Lynn Garrett; and my father, Robin Warner, for his fabulous tree farm Thanks to the entire editorial team: Jeff Noble for his superb technical editing and great ideas; Becky Huehls for catching the details, improving the prose, and being a great friend and ally; and Bob Woerner for . www.DigitalFamily.com. Internet/Web Site Design $24.99 US / $29.99 CN / £17.99 UK ISBN 97 8-0 -4 7 0-6 107 6-3 Go to Dummies. com ® for videos, step-by-step examples, how-to articles, or to shop! Get up to speed fast and start creating great. READ. For general information on our other products and services, please contact our Customer Care Department within the U.S. at 87 7-7 6 2-2 974, outside the U.S. at 31 7-5 7 2-3 993, or fax 31 7-5 7 2-4 002. For. comments at http:/ /dummies. custhelp.com. For other comments, please contact our Customer Care Department within the U.S. at 87 7-7 6 2-2 974, outside the U.S. at 31 7-5 7 2-3 993, or fax 31 7-5 7 2-4 002. Some