プライム無料体験をお試しいただけます
プライム無料体験で、この注文から無料配送特典をご利用いただけます。
非会員 | プライム会員 | |
---|---|---|
通常配送 | ¥410 - ¥450* | 無料 |
お急ぎ便 | ¥510 - ¥550 | |
お届け日時指定便 | ¥510 - ¥650 |
*Amazon.co.jp発送商品の注文額 ¥3,500以上は非会員も無料
無料体験はいつでもキャンセルできます。30日のプライム無料体験をぜひお試しください。
¥7,758¥7,758 税込
発送元: Amazon.co.jp 販売者: Amazon.co.jp
¥1,523¥1,523 税込
ポイント: 15pt
(1%)
無料配送 7月12日-23日にお届け
発送元: TISASTORE 販売者: TISASTORE
無料のKindleアプリをダウンロードして、スマートフォン、タブレット、またはコンピューターで今すぐKindle本を読むことができます。Kindleデバイスは必要ありません。
ウェブ版Kindleなら、お使いのブラウザですぐにお読みいただけます。
携帯電話のカメラを使用する - 以下のコードをスキャンし、Kindleアプリをダウンロードしてください。
Pro CSS and HTML Design Patterns ペーパーバック – 2010/6/2
購入オプションとあわせ買い
Pro CSS and HTML Design Patterns is a reference book and a cookbook on how to style web pages using CSS and XHTML. It contains 350 ready–to–use patterns (CSS and XHTML code snippets) you can copy and paste into your code. Each pattern can be combined with other patterns to create an unlimited number of solutions.
Each pattern works reliably in all major browsers without the need for browser hacks.
The book's layout, with a pattern's example on the left page and its explanation on the right, makes it easy to find a pattern and study it without having to flip between pages. The book is also readable from cover to cover, with topics building carefully upon previous topics.
A software developer can use this book to learn CSS for the first time. A designer familiar with CSS can use this book to master CSS and XHTML. If you are completely new to coding or completely new to CSS and XHTML, you may want to read an introductory book on CSS and XHTML first.
You can interact with all the examples in the book at www.cssDesignPatterns.com.
- 本の長さ528ページ
- 言語英語
- 出版社Apress
- 発売日2010/6/2
- 寸法17.81 x 3.02 x 23.5 cm
- ISBN-101590598040
- ISBN-13978-1590598047
商品の説明
著者について
登録情報
- 出版社 : Apress; 1st版 (2010/6/2)
- 発売日 : 2010/6/2
- 言語 : 英語
- ペーパーバック : 528ページ
- ISBN-10 : 1590598040
- ISBN-13 : 978-1590598047
- 寸法 : 17.81 x 3.02 x 23.5 cm
- カスタマーレビュー:
著者について
著者の本をもっと発見したり、よく似た著者を見つけたり、著者のブログを読んだりしましょう
カスタマーレビュー
私たちの目標は、すべてのレビューを信頼性の高い、有益なものにすることです。だからこそ、私たちはテクノロジーと人間の調査員の両方を活用して、お客様が偽のレビューを見る前にブロックしています。 詳細はこちら
コミュニティガイドラインに違反するAmazonアカウントはブロックされます。また、レビューを購入した出品者をブロックし、そのようなレビューを投稿した当事者に対して法的措置を取ります。 報告方法について学ぶ
他の国からのトップレビュー
If you've ever felt as if all of the permutations of tags, selectors, quirks, and browser madness would never be tamed, least of all in a cohesive and logical way, then you might find that this is your stop. For intermediate and advanced parties, I am confident in my opinion that this text has made my list of top ten all-time favorites. I have owned this work for about three days at the time of this writing. I've learned more about the dark corners of CSS and HTML in that time than I have discovered on my own in a lifetime career of programming thin clients. If you're looking for lots of theory as to why things are as they are, forget about it. You might consider doing that in your downtime. Here you'll find a strong resemblance to the "recipe" format you've seen elsewhere and that formula works here as well. Within each chapter you'll not only find practical design patterns for CSS/HTML (yes, patterns!) but also neutral-language field advice about browser behaviors with regard to the element at hand. Neutrality is so refreshing to me in a world of overzealous, myopic, and fanatical views. Pro CSS/HTML Design Patterns is just the kind of book that's very likely to hold a high regard in your arsenal. Remember all those times when you were incensed by the lack of a reaction to a change you made to your CSS? Why didn't it work? Don't all elements have the property/value combination you used? Ever wonder if this element had that capability? Do you have a need to understand why one wrong move can throw off your design and how you can fix it? How about having someone decipher those tricky shorthand symbols and their meanings and effects? Get ready for the nirvana of intelligent answers to those kinds of questions. You'll find them here.
Michael Bowers' Ansatz der CSS-Entwurfsmuster geht einen anderen Weg: er erforscht systematisch alle möglichen Kombinationen von CSS-formatierten HTML-Elementen und bietet jeweils passende Rezepte für gängige Positionierungsprobleme. Beispiel: Wie zentriere ich ein relativ positioniertes Tochterelement innerhalb eines absolut positionierten Elternelements? Was ändert sich, wenn auch das Tochterlement absolut positioniert sein soll?
Der Autor versucht nicht, durch elendslange Stylesheets Seiten zu schinden, fast alle Rezepte kommen mit einer Doppelseite aus. Besonders gut finde ich auch die Hervorhebung der "entscheidenden" CSS-Anweisungen.
Mir hat das Werk sehr zum tieferen Verständnis von CSS geholfen. Ich empfehle allerdings, es nicht nur aufgabenbezogen durchzugehen, sondern auch mal vollständig zu lesen.
First, if you only read pages 70-71, then you will have gotten the value of the price of the book. Michael is the first and at this point the only person that I've seen figure out an approach very similar to O-O inheritance (not CSS hierarchical inheritance). His is example uses a button class and 3 sub-classes, whose rules are written button.square, button.rounded and button.go. This is an invaluable technique. Other sites have always said that "you can't do O-O inheritance in CSS", but he has come up with a simple way to do it.
The difference between this book and others is that he organizes CSS into a methodology that no one else has. He organizes it into box model type, box model extent and box model placement. These are the authors categories and not explicit CSS categories (though they can be said to be implied by the CSS standard). He then goes about showing you every combination of how these work together, why each is useful and their limitations, including browser limitations. It's very dry reading, but you get a grasp of CSS that you wouldn't get otherwise. For example, I always had difficulty with centering items in CSS, because it would work sometimes and not other times. In other books and on the web, I would find centering "hacks" that usually involved text-align: center, but never really understood why CSS didn't have a way to center items. It turns out that CSS does have a way to center elements, but you have to know which type of box model that you're working with as well as its limitations ( horizontally shrinkwrapped elements cannot be centered and IE6 cannot center absolute elements).
I highly recommend this book, but only if you are willing to commit time to learning it thoroughly. This is not a "get you up and running in 30 minutes" type of book.
This is the book that allows you to master CSS. It probably should be your primary CSS resource. It is a tour de force of CSS explication and moves one beyond guessing, "WTF? Why doesn't X work?", to knowing with a great degree of understanding how CSS works.
The author endeavors to systematically cover every usable feature of CSS 2.1, has run thousands of tests to tease out all the usable formulations of properties, and the book shows examples of each usage with HTML. The term "usable" is key. He's cut out the over 40 out of 122 properties and over 250 of 600 CSS rules that are not widely implemented by the major browsers. By doing so, he spares us the miserable task of cross-browser testing by providing only patterns that are guaranteed to work with all of them (and without the need for dubious hacks).
I did notice some seemingly missing coverage. The use of dynamic pseudo selectors on non-link elements barely gets a mention, as well as the outline property. I assume the author passes over them because they were deemed unsupported by all major browsers at the time of publication (2007), however currently they are widely supported and should be included in a subsequent edition. Current browsers support many items previously deemed "unusable". And any concessions made to support the disreputable IE 6 can be mercilessly excised. Mercifully, IE 6 is no longer a "major" browser.
There are some things that are outdated, such as the advocacy of XHTML over HTML. XHTML 2 has crawled into a corner, and HTML 5 is the new heir. This doesn't detract from the overall value of the book. The stuff here is classic in its utility. The fact that it works reliably in major browsers circa 2007 means that it will work with newer browsers as well. E.g., there may be new ways to accomplish rounded corners in CSS 3, but the older techniques shown in the book will also work in current browsers. You might even prefer to use the older techniques for reasons of backward compatibility.
Other books on CSS that I've seen, even advanced books, boil down to a few of the author's favorite techniques and tricks. You get spotty coverage, consisting only of what the authors happen to want to impart. Part of the problem is that CSS really is huge. There's so much you can do, with so many settings and properties to deal with in order to accomplish things. Other books I've seen don't even attempt anything near sweeping coverage.
Not only is CSS a big topic, it is full of seeming inconsistencies and mysterious black art ways of accomplishing various tasks. Part of the problem is that outside of the Official Spec, CSS is just not adequately covered in one place. This book offers systematic and thorough coverage of CSS. The author has also taken the mass of CSS/HTML rules and behaviors and organized them into a coherent taxonomy that lends sanity to the combinatorial explosion of CSS property formulations.
Without such organization CSS can appear to be a crazy-quilt of rules with myriad maddening and confusing exceptions. This taxonomy provides you with a rational conceptual model to understand CSS design execution. And when you understand a particular design formula applies to a particular element, you also know that the behavior applies to the larger class of elements, which widens the scope and practical applicability of your understanding, while at the same time streamlining your learning.
To use a specific example, consider the box model. Any decent book on CSS describes the box model, it is central to understanding how HTML elements behave with CSS. Officially the CSS spec discusses a single but varying box model. However, this oversimplifies things to the point of confusion. The problem is that the box model can have different behaviors depending on the HTML element and the CSS property combinations. And the same properties can have different results depending on the element. So designers wind up being befuddled by what seem to be oddities and inconsistencies of CSS which are irreconcilable with the simplistic box model they've learned.
The author has synthesized the various permutations into six specific, consistent models which can be applied to all HTML elements. This is necessary because the models aren't explicitly identified in the CSS specification, only implied. This synthesis of identifying implied behaviors as explicit models is a great part of what makes the book innovative.
Once you know these models, you see the behaviors as reliable intrinsic attributes of discrete model operation, rather than as random results which you vaguely understand, may not be able to replicate or control, and can't rely upon. They resolve the confusing inconsistency of a single box model. When you understand how a behavior works, you can execute the behavior on not just a specific element, but on the class of elements to which its box model applies. Since every element adheres to some box model, your understanding serves as leverage on every other element of that class.
I'll add that box models aren't simply trivial aspects of CSS design, they are a foundational core concept which apply to all HTML elements. I've not seen any other book take such pains to explicate the details of them. The author devotes three entire chapters to the box model alone in order to establish a comprehensive framework for understanding it. What he does for the box model, he also does for positioning - identifying six explicit models; sizing - three models; tables - four models. I.e., he establishes clear, complete models of behavior which one can rely on for predictably working with the CSS area at hand.
The book takes the approach of providing an organized collection of 350 reusable formulas, or solutions - the author uses the terminology of design "patterns". The term pattern is used in the computer programming world to connote not only solutions for particular problems, but also a kind of independent modularity that allows these solutions to be mixed and matched with other patterns to build a greater whole, as with Lego pieces. In other words, these patterns are elemental solutions which can be relied upon to work by themselves, and can be combined with other patterns to form more complex composite entities.
By breaking CSS into elemental, reliable, and reusable design patterns, you wind up with an extensive tool kit containing building blocks which you can combine to produce your desired effect in a dependable and efficient manner. From simple to complex manifestations, the patterns are guaranteed to work in all major browsers while at the same time being engineered with best practices and accessibility. This means you replace the guesswork and trial and error hacking about, which so often characterizes CSS programming, with predictable and reliable behavior and techniques. Find your pattern, tweak the values to your own needs - done. And know it will work in multiple browsers. You get the immense gift of confidence in your design work execution.
Taken as a whole, these patterns cover the major aspects of CSS design. They are organized into major design topics such as positioning, styling text, aligning content, layout, tables, etc. The list is extensive. In this way the book can function as a cookbook, allowing you to reference a specific issue by topic section. It can also function as a learning text, allowing you to read the section on, say, tables, and learn all about tables.
Each individual pattern is formatted so that when the book is open it is laid out with a screen shot of the pattern as it appears in a browser on the left facing page and the explanation and relevant code on the right facing page. This makes it possible to quickly flip through the pages for ideas or access a solution visually. This consistency of layout is a major feature: while keeping your eyes set at the same place it allows you to flip the pages of the book so that you can visually scan the images for the result you seek.
So let's say you are seeking to format a table with mixed column sizes. You can go directly to the table section and flip through the pages, all the while keeping your eyes fixed at the place where the image appears, until you come across the one that matches your desired result. It's actually pleasurable to use - you'll wonder why all design books aren't formatted this way.
Many books do not service well after first reading and make for terrible references. The organization of this book make it well suited for coming back to as a reference. By organizing all information related to a specific topic in one place it becomes easy to access later. It also allows you to contrast and compare related topic behaviors in one place. This localization aids in focusing, amplifying, and mentally organizing the information.
E.g., going to the Margin section you can see how margins affect various elements, and this helps you determine which type of element you may wish to use. Contrast this with having to recall all elements to which margins apply and checking them individually in different respective places. That's a lot of rooting around, and it leads to hit and miss coverage. Instead, you can see how the property affects all elements in one place.
This organization also helps with debugging. When something is not working as expected, a common method of debugging is to take away properties one at a time until the problem disappears. When the problem disappears, you know that the issue exists with the most recently removed property.
E.g., say you've figured out that the margin is causing your stretched table to overflow its container. You can go directly to the margin section of the book to see how the margin property affects tables, as well as alternative formatting of tables, as well as alternative elements with different margin behaviors.
Compare this to searching through a different book where the author covered such a thing in some arbitrary chapter where he happened to be using the design within another context, of perhaps displaying a calendar, and it could have been in the beginning of the chapter or the middle, you don't quite remember. You have to scan all over the pages fumbling around hoping to get back to that spot. It makes for very inefficient access to information.
The author also provides extensive cross-references to the related patterns, furthering your understanding of a pattern's relationship to the contextual whole. Access is further augmented by having a detailed table of contents, index, thumb tabs, chapter outlines, uniquely naming each pattern, and a link to the companion web site where you can see each pattern live. You can tell the author has thought much about making content accessible to the reader, but also about providing not just content, but context. He's not just doing a brain dump of his expertise, leaving it up to the reader to sort things out. He has written the book with organization, context, and accessibility as key parts of its architecture.
Organization is essential to pedagogy in general. It's not simply exposure to raw expertise that counts. That expertise needs to be presented in such a way as to produce a structured, cumulative framework of knowledge, free of internal inconsistencies, so as to be maximally useful and form what we call comprehension. This book is an example of how organization of content is as important as the content itself - typically, a poorly executed aspect of many instructional books. The meta importance of content organization is that it's not just an arrangement of content, but an implied directive on how to mentally organize and think about the material.
The book's concentration is about structure, not aesthetics. The book is about manifesting what is possible from an execution perspective. It's not about how to make things pretty, it's about how things are made. While CSS may seem technical, it is necessarily so by nature because there is ultimately a machine being instructed by it. But this is a happy circumstance. Being a technical discipline means that one can access the possibilities by objective means. It takes execution out of the realm of black art and into accessible mechanics.
The book is not without its warts. It reads like a technical manual and the explanations can seem abstruse. I wish the author did a better job of explaining some things, broke with the technical style of presentation in places, and wrote about some of the topics in a more informal manner. It would have been useful for many readers if the author had done a little hand-holding for the reader rather than stick so rigidly to the technical format.
The author makes reference to "terminal nodes" without any discussion of the Document Object Model which would have given context to what's being terminated. Terms confusingly cross-pollinate and the author could have done a better job of making items more distinct and contrasted. As the author's background is computer programming this style and approach is not surprising. However, to those not inclined, it can be a challenge to parse such spartan prose, requiring one to muster up a rigorous discipline of reading.
The topic of sizing could be more adequately explained. For anyone caring to use this review as an addendum, an element's "size" is a calculated value which may or may not include all the constituents of inner-box, padding, border, and margin. So, for instance, when a stretched table with a margin overflows its container, it is because the size calculated for it didn't include the margin (Chapter 5, pg 105). This holds true for tables, floats, and inline-blocks. A discussion of what causes overflow would have been quite instructional to have as well.
I think you will get the most benefit from reading the entire book front to back. If you jump to the positioning section, it describes how positioning affects various box models - but if you skipped the box model chapters you'll be lost. At least read the box model chapters before skipping around. While the patterns are self-contained in execution, the book content is cumulative, with subsequent chapters building on previous ones.
The book may require of the reader a fair amount of determination and fortitude to get through it. At first pass, the book can be overwhelming - it's highly concentrated stuff. Although the author has accomplished a great feat in making the CSS spec accessible to mere humans, it can still be a formidable read. You may need a third, fourth, or fifth reading of the book in order to grok it all. But after the fluff of other intermediate or advanced books, the compactness and concentration of content in this book will come as a welcome change in efficiency of access. I think one would benefit from re-reading it every few months, with each pass providing further perspective and ideas, and cementing the content in one's head. The reward is that you change from guessing about CSS to knowing CSS.
I've bought Apress (the publisher) books of wildly varying degrees of quality - I was unfortunate to have purchased one which was so poorly written it required more than an hour of making corrections from its errata and a number more posting new ones - but that didn't make up for the poor overall quality.
I'm dismayed at seeing that corrections I submitted to the publisher's web site months ago have not appeared in the errata. In fact, the web site doesn't show any corrections whatsoever for the book - no errata exists. A bad sign that the book is being ignored by the publisher or maybe that they are doing a poor job of maintaining their books. Readers are not likely to help improve a book by submitting corrections if it appears that the publisher doesn't care. Thankfully, this book contains few critical errors. The book is easily worth twice its asking price, and I consider it a classic in the field. Judging by the lack of a recent edition update, I think the publisher may not appreciate the gem it has on its hands.
To summarize, if you seek to master CSS, this is the book to get. In comparison, other books in the field pale with inadequacy. It presents coverage of CSS that is systematic and comprehensive, and it provides you with a structured framework of knowledge that brings order to CSS chaos, sparing you time and effort, and allowing you to confidently manifest reliable designs that work in all major browsers. But passive readers need not apply.
Final notes, if the publisher is listening: it is a poorly titled book. Marketing-wise it has no value. A more appropriate and less impenetrable one might be "The Elements of CSS Design".
Some of the examples would have benefited from having not only the schematic browser screen shot, but a real world example. E.g., we're shown that inline or block elements can be displayed as tables, rows and cells, but why would we want to do this? A concrete example would provide some guidance. Perhaps these could be provided on the companion web site so as not to bloat the page count of the book.
With a few changes and a bit more user friendliness, this book could go from being the unsung classic in the CSS field to being THE book for CSS, in the same way that "Agile Web Development With Rails" is to Rails programming or "The C Programming Language" is to C programming.
1. When you input the examples and view them in different browsers, they display differently, and don't match the display in the book.
2. Even the example pages up on the web site associated with the book do not display the same in all browsers. For example, the Display page from Chapter 4 has the p, li, table and strong elements all on the same line. Yet on some browsers the table and strong elements show up on the next line, and on others the table shows up on the next line and the strong element shows up on the line after that. Where are these carriage returns coming from, when all of these elements have the display value set to inline? The browser window width is not too small to show all the elements inline.
3. Learning and dealing with CSS and trying to make it do what you want and have it do the same in all browsers is a frustrating job of trial and error. My hope was this book would turn it into an exact science, so that when you add some CSS code, you know what your page is going to look like, no matter what browser displays it. Unfortunately, with CSS, I'm convinced you have no choice but to constantly do trial and error with every layout you write, in order to tweak it to get it right.
4. In many of the examples, the author leaves out "Nonessential rules". When I'm trying to understand the examples, I don't want any rules left out, so that I don't have to figure out why when I'm doing the examples my page doesn't look exactly as it does in the book.
Of course, I haven't seen any book on CSS able to provide a consistent set of rules that can be followed to get it to do what you want. I think this book is probably going to come as close as you're going to get.