Now through Dec. 7, save 40-55% on books & eBooks. Use code BOOKSGIVING during checkout. Shop now.
95% of all Web users now have CSS/DHTML compatible browsers. Now's the time to leverage these technologies to build sites that load faster, look hotter, and work better! In this fully updated best-seller, two renowned Web developers help you master CSS and DHTML -- hands-on! Learn how to use CSS and DHTML to build real-world sites that sell products, educate visitors, display ads, present quizzes, and deliver sophisticated interactivity. The book begins by introducing the fundamentals of CSS style sheets, including the STYLE Tags; Z-Index stacking; and more. The authors demonstrate how to add DHTML-based interactivity; build pop-ups for search and secondary navigation; create splash screens; and much more. The book also includes practical solutions for reliable cross-browser coding. All finished sample sites and applications are on the Web -- so developers can reuse the code, and see exactly how their pages should look and work.
About the Author.
1. What Are CSS and DHTML?
What Is CSS? What Is DHTML? DHTML vs. Flash. Browser Hell. What You Need to Know Already.
Stylesheet Overview. What Classes Can Specify. Where to Set Styles and Classes. Linking to an External Stylesheet. Positioning Layers. Modifying HTML Tags.
Page Structure: The DOM. Cross-Browser Coding. Hiding and Displaying Layers. Full Secondary Navigation. Another Good Way.
The Task: Slide the Menus Away. Your First Animation.
Planning. Dragging Basics. Dragging Code. The Whole Thing.
Box Property Attributes. Color and Background Attributes. Classification Attributes. Font Attributes. Text Attributes. Position Attributes.
Good Web Resources. External Stylesheets. Positioning Attributes. Measurement Units. Colors.
Basic Objects. Operators. Control Statements. Global Functions. Statements.
A. Anchors. Applets. Area. Button. Checkbox. Document. Elements. Embeds. Event. FileUpload. Form. Forms. Frames. Hidden. History. Images. Links. Location. Navigator. Option. Password. Radio. Reset. Screen. Select. Submit. Text. Textarea. Window.
All HTML Elements. Specific HTML Tags and Objects.
When I first started learning DHTML, there were two kinds of books on the market: overly simplified, cutesy books that were appropriate for technophobe junior high schoolers, and huge reference tomes that had their own gravity. But nothing really taught me how to build pages for real clients using CSS and DHMTL.
This book will guide you through CSS (also called "style-sheets") and DHTML, using examples and techniques taken straight from my experience as a Web designer and programmer. I'll start off with basic concepts and simple examples and work up to more sophisticated effects and functionality.Who This Book Is For
The first code-heavy chapter covers CSS in all of its useful forms with a myriad of examples. The rest of the chapters focus on DHTML by presenting a real-world task and walking you through it step by step. All of the examples are for one of two fictional companies: Shelley Biotechnologies or Stitch, an online fashion magazine (like every other book in this series).
The exercises and examples are designed to give you a solid, market-ready foundation in DHTML and enough expertise in practical solutions to carry you through 90% of the DHTML projects you'll do. You'll find there's often more than one way to accomplish a feat in DHTML, which is finethere is no right or wrong in coding.
All of the code, images, and working examples are available for download and viewing on
I am delighted to be able to write a second edition of this book. I've received hundreds of emails from readers of the first editionsome good, some bad. I have implemented many of the suggested changes, and kept the things people liked. I think the book is much stronger for it. If you have any questions or comments, feel free to drop me a line at
firstname.lastname@example.orgI'd love to hear from you.