CARVIEW |
CSS: The Missing Manual
By David Sawyer McFarland
August 2006
Pages: 494
Series: The Missing Manuals
ISBN 10: 0-596-52687-3 |
ISBN 13: 9780596526870
(Average of 5 Customer Reviews)
Cascading Style Sheets are now a reliable method for handling all kinds of Web page presentations -- from fonts and colors to page layout. But due to CSS's complexity most designers treat it as a kind of window-dressing to spruce up the appearance of their sites without tapping into the real power of CSS. CSS: The Missing Manual clearly explains this powerful design tool and how you can use it to build sparklingly new Web sites, or refurbish old sites that are ready for an upgrade.
Full Description
Like their counterparts in print page-layout programs, style sheets allow designers to apply typographic styles, graphic enhancements, and precise layout instructions to elements on a Web page. Unfortunately, due to CSS's complexity and the many challenges of building pages that work in all Web browsers, most Web authors treat CSS as a kind of window-dressing to spruce up the appearance of their sites. Integrating CSS with a site's underlying HTML is hard work, and often frustratingly complicated. As a result many of the most powerful features of CSS are left untapped. With this book, beginners and Web-building veterans alike can learn how to navigate the ins-and-outs of CSS and take complete control over their Web pages' appearance.
Author David McFarland (the bestselling author of O'Reilly's Dreamweaver: The Missing Manual) combines crystal-clear explanations, real-world examples, a dash of humor, and dozens of step-by-step tutorials to show you ways to design sites with CSS that work consistently across browsers. You'll learn how to:
- Create HTML that's simpler, uses less code, is search-engine friendly, and works well with CSS
- Style text by changing fonts, colors, font sizes, and adding borders
- Turn simple HTML links into complex and attractive navigation bars-complete with CSS-only rollover effects that add interactivity to your Web pages
- Style images to create effective photo galleries and special effects like CSS-based drop shadows
- Make HTML forms look great without a lot of messy HTML
- Overcome the most hair-pulling browser bugs so your Web pages work consistently from browser to browser
- Create complex layouts using CSS, including multi-column designs that don't require using old techniques like HTML tables
- Style Web pages for printing
Unlike competing books, this Missing Manual doesn't assume that everyone in the world only surfs the Web with Microsoft's Internet Explorer; our book provides support for all major Web browsers and is one of the first books to thoroughly document the newly expanded CSS support in IE7, currently in beta release.
Want to learn how to turn humdrum Web sites into destinations that will capture viewers and keep them longer? Pick up CSS: The Missing Manual and learn the real magic of this tool.
Featured customer reviews
Tip For Using The Tutorial Files, June 21 2008





Awesome book!! I needed to learn CSS for my job. This has been an excellent book! One thing I had problems with was with the downloaded tutorial files. It may be just related to my PC? Long story short... When I tried to open up the .HTML files in Notepad, from all of the chapter files after unzipping them, Notepad did not render the code in a very readable way. I had to open each one in Wordpad, then edit/select all > copy. Then open the same file up in Notepad and paste the code from Wordpad and re-saved it with same file name. Now all files are readable when opening up in notepad. Not sure why my PC garbeled the code?
Anyway... just a tip if anyone else had that problem. Awesome book to learn CSS!!! I have read, or tried to read many before, and they mostly read like a reference book. This one you actually do hands on projects.
This book on CSS has style, April 10 2008





I loved this book! It held my attention, moved fast, I learned a lot and I had fun doing it. I expected a book on Cascading Style Sheets to be a bit on the dry side but found McFarland?s writing style not only easy to read but very enjoyable. His sense of humor would occasionally have me laughing out loud. The book is filled with information that is presented clearly. Some of the things about CSS that have left me a bit baffled in the past suddenly made sense.
The book begins with a brief overview of HTML that includes the reasons why Cascading Style Sheets are a better way to style web pages. It covers what HTML tags to eliminate and why to replace them with CSS. The chapters are set up with the information presented first and end with hands on tutorials complete with downloadable files. Being able to actually write CSS and apply what I?d learned was a great reinforcement.
CSS is covered from basic to advanced techniques in a way that keeps building on skills just learned. The attention focused on making it work in a variety of browsers including older ones was wonderful. For people like me that are not true professionals, browser variances are always a mystery. Not only are solutions to problems presented but the logic behind fixing them is shared.
The book also is loaded with CSS resources that include links to tutorials, bulletin boards and other sites for further education or help. You can find them both appropriately placed throughout the book as well as listed at the end. The only thing I would have liked to have included is a CD. The book ends with three Appendixes which recap CSS properties, cover Adobe?s Dreamweaver and list resources. That in itself was well worth the price of the book.
Find this book online at https://www.oreilly.com/catalog/csstmm/
Great CSS Primer and Beyond, December 19 2006





The book explains so much of CSS that I now feel quite comfortable doing design work, (D)HTML and AJAX client projects even though I'm a middle and back-end tier software engineer. Very good explanations and workarounds for browser quirks. I will no longer think of HTML as a design mechanism - only as a means to structure content. CSS is now my preferred way of designing websites.
Only one annoyance while reading this book (and it kept coming): the author's use of contractions seemed completely out of place! So much so that you have to re-read many of his comments in order to understand what he is saying. For example, the author writes, "A common technique's to float a <div> tag..." "...if the text is 1em and the line-height value's 1.5, then... the effect's no different than..." I'm not sure the author likes the word "is." It seemed the editor was asleep at the wheel on this one.
Anyway, my only gripe aside, this is a very, very good CSS book.
A very comprehensive reference guide, December 18 2006





This is one of those rare gems of a reference guide that manages to build a solid foundation and go from there to a comprehensive and detailed guide to CSS.
The author does not cut any corners: the first part of the book establishes the philosophy of using CSS versus plain old HTML, along with laying down the necessary (and often overlooked) information (ie: the right docType to use, how inheritance really works, how multiple CSS files play with each other, etc.)
All this preliminary information is followed by a well-organized exploration of CSS. The second part deals more with text and margins and more formal methods of formatting content, as well as using CSS to spice up site navigation without sacrificing standards. I appreciate the author's discussions on the different opinions on em's versus pixels, not to mention his easy to read prose. All in all, the book presents the true meat of CSS to users in the second part.
The third part of the book is devoted to layout and positioning. It is here that the user will discover the ins and outs of floating elements and how to use them. This has always been a weak area of mine so this was very helpful.
The book ends with information on good practices for CSS. I am as guilty as the next guy in that more often than not my stylesheet is a mess of ill defined classes and elements. This section is for that.
This book is for both beginners and experienced code monkeys. Beginners with benefit from the meticulous and careful pace off the book while experienced users will most likely find one or two clever tidbits to add to their repertoire.
Finally, a CSS book I like, November 09 2006





To start off I should mention that this is my first CSS book. Prior to getting this book I would flip through CSS books in the bookstore and never found anything I found helpful at first glance. Having minimal knowledge of CSS and only really modified existing code I was looking for a good first book to get me started. As it turns out, this is that book.
I have found CCS The Missing Manual to be a very good resource and an interesting read. The author has a witty and engaging writing style that draws you on through the book, unlike some dry manuals I have experienced.
The author assumes the reader has some knowledge of HTML. The book starts out with a brief review of HTML with tidbits of history along the way. All through the book the author offers information highlights on various subjects for those people who want more. After looking at how page formatting works with basic HTML the author jumps in to CSS.
One thing that I really like about this book is that the author doesn?t just dump a bunch of information on you and expect you to figure out how to put it to use on your own. Each chapter has exercises to complete that take you through the material covered. The code for these exercises can be downloaded from the author?s website.
In addition to being introduced to the various CSS tags and how to successfully use them the author also covers browser problems that occur, especially with Internet Explorer 6. I was also surprised to find that this book covers Internet Explorer 7, which has only recently become available to the public.
The author devotes a chapter on how to create print style sheets for pages that need to be printed. And the last chapter gives recommendations on how to improve you CSS. The book also includes three appendixes, the first is a CSS property reference, the second gives an overview of how to generate style sheets in Dreamweaver 8, and the last appendix is references.
Check out the TOC online for a full description of the book contents:
https://www.oreilly.com/catalog/csstmm/toc.html (https://www.oreilly.com/catalog/csstmm/toc.html)
CONCLUSION
--
I have enjoyed this book and would recommend it to those looking to learn CSS or use it as a reference. Parts I found appealing were the hands-on exercises that went along with the instruction. Being a big fan of the O?Reilly Nutshell books, I also liked that the book includes a CSS reference to flip to.
Media reviews
"...the author does a commendable job of clearly explaining all of the essential topics that the typical developer would need to understand."
-- Michael J. Ross, Web Developer, Slashdot.org
"If you're tired of trying CSS tutorials that leave you more confused afterwards than you were going in, stop the madness and invest in this manual. I am only half way through the tutorials and, already, this author has cleared up so many things that I hadn't been able to quite grasp before. "
-- T. Moore, Amazon
"Between the informal writing style and the great step by step tutorials, this book makes learning about CSS quite painless and in fact fun. Whether it's formatting text, creating margins and borders, adding graphics, site navigation or formatting tables, there's a wealth of information here. I used to think CSS was something somehow scary and too difficult to learn. And now I instead realize it's a way to make web sites look awesome without having to resort to JavaScript, Perl or any other web site language (although clearly they can be beneficial too). "
-- Todd Hawley, Amazon
Read all reviews

"One of the beauties of the Missing Manuals is that there is always something new to discover and the research is quite thorough...I kept finding snippets of information, in the way of Tips or Notes, that would give just that bit extra."
--Graham K. Rogers, Bangkok Post
![]() © 2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Other O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone O'Reilly FYI makezine.com craftzine.com hackszine.com perl.com xml.com |
Partner Sites InsideRIA java.net |