The Art and Science of CSS (Book review)

Buy The Art & Science of CSS from Sitepoint.com The Art & Science of CSS is not a very thick book, and it doesn’t have to be since it is not a reference book on CSS. It is a rather quick read, but it contains useful and practical tips on how to create certain design elements with CSS. These are tips that you can adapt and use in your own projects.

Five authors have contributed to this book: Cameron Adams, Jina Bolton, David Johnson, Steve Smith, and Jonathan Snook. Bolton, Johnson, and Snook have written one chapter each, while Steve Smith and Cameron Adams have both written two chapters. It’s an author line-up that raises expectations.

There’s not a lot to say about the general structure of the book. There is no introduction to CSS or HTML in here. Instead you jump right in and get working on the examples. During the course of the seven chapters you will find new or different ways of styling, creating, or manipulating headings, images, backgrounds, navigation, forms, rounded corners, and tables. Those are the main topics of each chapter, but in each chapter you will pick up other tips as well.

So, what do I think of this book after reading it? Well, it’s not bad. Plenty of good tips and useful techniques are described in it. It’s not perfect either. I guess it’s partly down to personal preference, but I am not too fond of books that have multiple authors unless there is one main editor that makes sure all chapters are at least reasonably similar in style. I can’t quite put it into words, but to some extent the different styles distract me from the actual content.

Apart from the difference in writing style between the authors, there is also the difference in coding practices for both CSS and HTML. It’s ok for someone who is experienced and can see that the differences are often just personal preferences, but this book is meant for people who aren’t CSS or HTML experts. I can easily imagine how confusing it is to see different approaches to font sizing in different chapters of the same book, with no explanation of why. I think consistency would have been good here.

With that in mind, reading The Art & Science of CSS will teach you how to use CSS to accomplish a number of useful design tasks, so I think it’s worth its price unless you already know most of what there is to know about CSS.

As with all SitePoint books, there are sample chapters you can download to find out if the book is right for you.

The Art & Science of CSS
Authors: Cameron Adams, Jina Bolton, David Johnson, Steve Smith, Jonathan Snook
ISBN-10: 0975841971
ISBN-13: 978-0975841976

Comments

1. January 29, 2008 by Nate Klaiber

Great review, and you bring up a great point with:

"I can easily imagine how confusing it is to see different approaches to font sizing in different chapters of the same book, with no explanation of why."

2. January 29, 2008 by Adam

Wow - awesome lineup.

However, I can't help but feel that the CSS book market is getting a bit saturated. It must be intimidating for people who are just getting started with CSS and web standards.

3. January 29, 2008 by Anders Ytterström

I choosed between this book and a similar book from Friends of Ed: "Web standards Creativity" (reviewed on this site too).

I picked the other, mostly because it felt like "more". Still, this book is really great if one does not think WSC is worth its price.

4. January 30, 2008 by Miguel Jette

Your review was nicely put together. The book seems interesting although, like you implied, the book seems to be targeted for a very specific audience. It almost seems to be the CSS equivalent of 'Perl Cookbook', which is basically a bunch of nice recipes to achieve a given goal (using Perl in that case, but whatever).

Not that I would have time to read such a book right now, but what I would really like to see out there is a theoretical book on HTML+CSS. No code examples, but the explanation of the foundations and the theoretical limits of the whole framework.

Anyways, I guess I am a theoretical person, and 'web design' is still mostly an artistic venture.

As always, thanks for the review!

5. January 30, 2008 by Tommy Olsson

I got my copy yesterday and I've only had time to read the first five chapters. It's mostly well-written and quite useful. The chapter about metaprogramming really made me understand how some of JavaScript's features work under the bonnet.

As you said, this isn't a book meant for CSS and HTML experts. Unfortunately the first chapter, which shows some nifty code for creating sortable tables and draggable columns, uses pretend-XHTML markup along with JavaScript that will only work with the HTML DOM. There is no mentioning the differences anywhere, which means that those who aren't markup experts will learn some harmful practices. That was a major disappointment, even though I'm well aware of SitePoint's predilection for pretend-XHTML.

6. January 30, 2008 by Syed S. Rahman

Great review, though I'd like to ask you which CSS book would you recommend for someone who is past the average mark?

7. January 30, 2008 by Jonathan Snook

Tommy Olsson: I think you're talking about the Art and Science of JavaScript and not the Art and Science of CSS. :)

8. January 31, 2008 by Jermayn Parker

What you say about the difference in coding practices for both CSS and HTML is right. In this book i think from memory they suggest using 'p' instead of 'ul', while like you say its personal choice, I thought that was very interesting.

I have written more about it on my blog http://germworks.net/blog/2008/01/23/lists-p-whats-best-for-forms/

9. January 31, 2008 by Tommy Olsson

@Jonathan Snook: You're absolutely right. I was so focused on the JS book since I was just reading it. (blush)

Ahem ...

Well, The Art and Science of CSS is also a very good book. I especially enjoyed the chapter about form styling, which solves the annoying problems with cross-browser styling of fieldsets.

10. February 1, 2008 by xhtml css developer

I will for sure have a look at this book and compare it to the ones I have read last year.

recently ready book of mine are i.e. Html dog, Transcending css, Web design standards, bulletproof web design and i would really be surpriced if this book cover more issues and ideas then i already learned from the recent purchased...

Michael

11. February 8, 2008 by Kiper

Great review Roger!

Now I know that I don't HAVE to buy this book although I'm sorely tempted by that incredible line-up. I really hope they will get together for a more advanced sequel...

12. February 11, 2008 by Lara

This is really an awesome review! I have read some books about CSS too and I guess this book is really one of the best in terms of references.. :)

13. February 19, 2008 by Arthur

For large web sites, improved CSS skill is very important to us. Nice review. Glad you mentioned about the examples. Theory is great but working the examples really makes it stick!

Sorry, comments are closed for this post.

Information, sponsorship, and externals

About the author

Roger Johansson is a Swedish web professional specialising in web standards, accessibility, and usability. More about me and this site.

Subscribe

Looking for web hosting?

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up!

Latest articles

Validation statistics from Nikita the Spider Comments off
An analysis of the sites crawled by the bulk validation tool Nikita the Spider during March 2008.
Authentic Jobs API and Affiliates program Comments off
The Authentic Jobs job listing service now has a public API and an affiliate program.
What does Acid3 mean to you and me? Comments off
Opera and Apple have announced that their web browsers pass the Acid3 Browser Test, but how will that help web designers and developers?
Designing Web Navigation (Book review) Comments off
Learn the fundamentals of navigation design and design better navigation systems for large and small sites as well as for web based applications.
DOMAssistant bundle for TextMate Comments off
To save keystrokes and speed up development I have created a DOMAssistant bundle for TextMate.
First impressions of Internet Explorer 8 Beta 1 Comments off
My impressions after trying out Internet Explorer 8 Beta 1 for a couple of days.

More articles

Favourites, here and elsewhere

Affiliation

  • NetRelations
  • Kaffesnobben
  • Dagens recept
  • 9rules network member

Support this site

Show your support by buying a book or two from SitePoint or getting me something from my Amazon Wish List.