- 出版社: O'Reilly Media, Inc, USA; 2nd edition (2009年8月15日)
- 丛书名: Missing Manuals
- 平装: 538页
- 语种： 英语
- ISBN: 0596802447
- 条形码: 9780596802448
- 商品尺寸: 17.8 x 3.6 x 23.1 cm
- 商品重量: 862 g
- ASIN: 0596802447
- 用户评分: 1 条商品评论
- 亚马逊热销商品排名: 图书商品里排第2,357,960名 (查看图书商品销售排行榜)
CSS: The Missing Manual (英语) 平装 – 2009年8月15日
Everything is very abstract in the world of web code; it's no small task to write a truly excellent reference book that keeps you engaged and informed as a reader, rather than bombarding you with white-paper speak or endless, overly complex examples. This book succeeds on all of the counts noted earlier. It's very easy to find exactly the types of CSS elements you need to learn about, and then quickly discover how they work. The time between reading and implementing is short. The examples are very clearly illustrated and the author's style and ability to explain things in the right order and with the right amount of detail, make this book a must-have CSS reference. Example: it took me all of 10 minutes to discover (again) how to build my own navbar elements with this book, including styling and page flow considerations. With previous books -even good ones- I'd often sit there scratching my head, turning pages back and forth for a half hour before similarly complicated topics made sense.
I've probably read through a dozen popular CSS titles. I own three. One from Eric Meyer (the classic O'Reilly title - what else?), a copy of "CSS: Separating Content from Presentation" and now this book. This will be my go-to reference anytime I've forgotten a specific technique or guideline. As someone who works in the digital arts, I often go several months between code updates for my site and so having a truly comprehensive but efficient reference is a must to shake out the cobwebs. This is that book. Enjoy.
(NOTE: If you're completely new to HTML and CSS, I'd strongly recommend Headfirst HTML with CSS and XHTML. It's excellent and approachable - particularly for first time learners. CSS: The Missing Manual is meant for folks who already have some HTML/CSS experience.)
My background with Cascaded Style Sheets (CSS) can be classified as "intermediate". Over the years, I've gathered my knowledge about the subject through a piece-meal format: from various books, websites, articles, and even trial and error. I have always yearned for a more formal approach to understand "the big picture", to fill in the vast gaps of knowledge I had about the subject.
I'm pleased to report that CSS: The Missing Manual, by author David Sawyer McFarland, fills that gap - and fills it well. Whether you are new to CSS entirely or have an intermediate knowledge of the subject, you will find plenty to learn and apply into your own web design projects. The book, clocking in at over 521 pages, is clearly organized into 5 logical sections, each with individual chapters:
CSS Page Layout
CSS Basics focuses on the structure of CSS and how it fits in with HTML. You'll learn the anatomy of a CSS style, and the difference between external and embedded style sheets. Also covered in the "Basics" section are classes, IDs, advanced selectors, inheritance, pseudo-classes, and the "Cascade" nature of CSS. Each chapter ends with a practical example where you can apply what you have just learned.
Applied CSS delves into formatting text, the box model approach (with an in-depth coverage of margins, padding, and borders), adding graphics to webpages, CSS navigation and formatting tables and forms.
CSS Page Layout covers the how's and why's of using CSS for positioning elements on the page as well as building float-based layouts, while the Advanced CSS section discusses CSS for the printed page and how to properly write and document your code.
The Appendixes are divided into 3 chapters: CSS Property Reference, CSS in Dreamweaver CS4, and additional CSS resources.
CSS: The Missing Manual does a good job uncovering CSS standards and exceptions (i.e. dealing with older browsers, like IE6), with each tutorial pointing out how to adjust the code to insure compatibility with older browsers.
I've learned quite a bit of information from this book - from descendent selectors to using negative margins to adjust spacing. The practical examples demystify certain CSS tricks I've seen on various websites, and I feel like I've truly leveled up in my own understanding. It's also really fantastic to use as a reference - if you have already wield some HTML / CSS knowledge, you can simply jump to the appropriate section without worry.
In short, thanks to its light overall tone, its well-written chapters and practical tutorials, I found CSS: The Missing Manual to be a very solid book on the subject. If you're looking for a genuinely useful, easy-to-understand text to level up in your CSS skills , this is the one to get.
If you've programmed but you've never touched web design or HTML with a 10ft pole then don't worry, there's no fancy HTML. There is HTML obviously but the book assumes you don't know anything about it and in truth you don't have to because that's not what the book is about.
The examples are very well presented, and enable you to immediately apply the new knowledge to web pages. It starts off with the basics, that any beginner would need, I even learned a few things from this part. The more complex examples focus around, you've seen this here's how you do it approach. When first starting to work through some examples, I thought this might be a problem in that they may stifle creativity getting you to think along the authors path instead of your own. But after working through several I found myself combining functions used to create completely different effects. The examples do a great job of explaining how each part of an overall example interacts with the other parts, allowing you to easily adapt and combine the different parts one example to another and create a totally different look.