9 of 10 people found the following review helpful:
5.0 out of 5 stars
Excellent for bringing HTML Old Timers up to speed with CSS, February 9, 2010
This review is from: CSS Cookbook, 3rd Edition (Animal Guide) (Paperback)
I have been designing and building HTML pages since mid-1994 and I am amazed at how much coding has changed in the past 15 years.
Back then building websites was pretty straight forward, you used tables to create columns and filled them up with text and graphics. Web designs were very basic, fixed width was the norm and there was not much of a difference between the two most popular browsers of the era, Netscape Navigator and Internet Explorer 3.0.
Starting in the early 2000s, Cascading Style Sheets (CSS) dramatically changed web design and page coding. CSS enabled designers and coders to build more attractive and interesting websites. However, coding pages and then making them work in various browsers - like IE 6, IE 7, IE 8, Mozilla 2.5, Mozilla 3.0 and Chrome - became far more challenging than just laying out tables. Making the learning curve even steeper was the popularity of JavaScript and more recently AJAX, which is the combination of CSS and JavaScript.
Many "old-time" coders tried to stick with table-based layouts, but it was easy to see that basic HTML would not longer cut it and CSS was the way to go. I stopped using tables and educated myself on how to use CSS.
In the early 2000s, I purchased several CSS books, including the first edition of CSS Cookbook. That book turned out to be the most useful because O'Reilly's "Cookbook " format is based on question and answer rather than the other CSS books, which focused on basic tutorials.
With the CSS Cookbook, I was able to look up "How to build a two column page," which would provide me with sample code as opposed to going through a basic CSS tutorial. I was able to learn quickly.
I was happy to discover that the third edition of CSS Cookbook has come up and it has been completely updated with how to create rounded corners with JavaScript and using Lightbox to display images as well as a chapter on how to use JQuery. It will also provide you with the basic CSS instructions on how to make one, two and three column layouts and how to set up floats.
If you are new to CSS, you should consider buying another CSS book, but if you know basic HTML and CSS and want to bring your skills up to the next level, I highly recommend reading this book.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
1 of 1 people found the following review helpful:
2.0 out of 5 stars
Ask Felgall - Book Review, December 21, 2011
This review is from: CSS Cookbook, 3rd Edition (Animal Guide) (Paperback)
Despite the many flaws in the HTML that the book uses, there are a great many extremely useful examples of how to use CSS to achieve a large range of commonly wanted appearances in your web page.Once you get past the antiquated code required for browsers back in the 1990s and the examples based on the presumed HTML 5 standard of the 2020s (assuming that it doesn't change too much between now and then), the rest of the book mostly achieves exactly what you would expect it to - to show you how to produce the appearance that you want across all the current browsers in common use.Most of the things you are likely to need to do in your web page including a number of more advanced tasks that probably will not be needed very often can all be found in this book. Not only is all the necessary code included but there are also explanations of why it is coded the way it is and the problems that can arise if you don't do it that way.
The book hasn't been updated as much as it perhaps ought to have been since wrapping the in page styles inside an HTML comment is not required for any browser that anyone uses any more. Page 121 continues to spread the myth that setting the body font size to 62.5% will make your font sizes more cross browser compatible where in fact any percentage will do the same so you may as well use 100% since the reason why people chose 62.5% was based on a misunderstanding of the relationship between pixels and ems. There are also a number of typos including some in the code samples (for example on page 109 there is a reference to a font called 'Area').
The existance of the Opera web browser is mostly overlooked in the book. Many of the statements that list which browsers support a particular piece of code neglect to mention Opera at all. For example the section on page 273 discussing the proprietary code that can be used to create coloured scrollbars in IE and Safari doesn't mention that Opera also supports the IE version although that is off by default in Opera and on by default in IE.
Some of the introductory information could also have been presented better. For example on page 74 there is a list showing the order of precedence as to which styles take precedence. That list gives the impression that author styles always take precedence over user styles. The correct situation is only explained two pages later where it properly states that user styles marked !important (which all user styles would be otherwise what's the point in having them) override author styles. I was also a little disappointed that the book chooses some of the proposed HTML 5 tags for some of the examples. Surely examples of how to do audio and video properly using the current HTML 4 standard object tag would be far more useful than the examples using the audio and video tags that are currently proposed for the new standard as alternatives to using the object tag. I would not suggest this book for someone trying to learn CSS - there are a great many better books available for that purpose. This book isn't really aimed at that audience anyway. The best use for this book is for someone who already knows at least the basics of CSS who wants to find out how to complete a specific task. A quick lookup of that task in the book's contents should take you straight to the two or three pages of information that are exactly what you are looking for. When using the book that way, almost all of the flaws I have mentioned are not going to make any difference to you as you will already have properly written HTML that the supplied CSS will work with quite well.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
5.0 out of 5 stars
Great Series on Any Subject, October 31, 2011
This review is from: CSS Cookbook, 3rd Edition (Animal Guide) (Paperback)
The "Cook Book" series of computer books is quite unique. It is what it says it is: many "recipies" describing and explaining a wide number of solutions to problems that often face computer coders. It also is a great reference for features that may be unfamiliar to a coder. Overall, a great reference.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No