Transcending CSS by Andy Clarke
Written at 11am on 10.05.07
Filed under Web Design / That Internet Thing / ALL CATEGORIES
4 comments (closed)

A couple of weeks ago, I mentioned Andy Clarke’s book ‘Transcending CSS‘ having a huge influence on me whilst coding this version of elliotjaystocks.com. The book is no longer that new (it was published in October 2006), but a few people have asked about this so I thought I’d explain further by summing up some of Andy’s key points.
Before we begin, let me say this: I can’t stand book reviews on blogs. At at their worst they remind me of the poorly written ones we used to publish in the student magazine at secondary school, and at their best they’re overly opinionated and of little interest. So let’s make it clear right now that this is not a book review. Rather, an analysis of the key lessons that can be learned from Andy’s book, which may (or may not) prove useful to the potential buyer / reader.
There are 3 key lessons to be learned from this book:
1. Thinking and designing ‘from the content out’.
In order to write lean, neat, well structured and (above all) semantic code, Andy suggests that we think about our sites ‘from the content out’ before we start coding. It’s all so easy - when designing a site in Photoshop - to start seeing how this div would achieve that effect, and how much padding this element would need, etc. but this is not the best way of thinking. Instead, because we are coders as well as designers (in most cases), we should be approaching the content - not the design - and asking questions such as, “could this element technically be considered a list rather than a paragraph?” and, “should this element appear at the top of the markup when actually it would help form a neater document structure if it appeared at the bottom?”
Andy encourages readers to consider the meaning of each element in our markup, and rightly notes that many designers use divs “in the same way they used tables, to achieve a visual layout, without paying much attention to their divisions’ semantic value.” He goes on to point out that “simply replacing table cells with div elements will not help you gain the full benefits of Web Standards or CSS.”
2. Looking outside the web for inspiration.
As designers, it’s something we’re regularly taught to do, but this is not just a case of suggesting we design a page that has the same structure as that beautiful old monastery sitting outside your window; that would be too easy. Instead, Andy is trying to get us to apply lesson 1 above to the outside world. He breaks down photographs into markup; turning an image of several parked motorbikes (in one example) into an unordered list of their respective colours, and an image of medieval helmets (in another example) into a definition list and their respective definition terms (”Bassinet Helmet”) and definition descriptions (”To protect neck against sword…”).
Later on in the book, however, Andy does return to the ‘look around you’ method of thinking, and a large chapter is dedicated to design (and artistic) inspiration, from incorporating grid systems used in printed magazines into your sites, to creating scrap books and mood boards for inspiration. Forget CSS at this point; Andy’s focus here is about escaping from your computer desk and seeing things in a different light. “Create the right mood, and visitors are more likely to interact with your site, no matter how much Ajax or other interactivity you have used in creating it.”
3. Pushing forward the growth of the web by using the latest techniques: so-called ‘Transcendent CSS’.
Admittedly, using cutting-edge CSS techniques is not currently possible in the vast majority of client projects, where we have to cater for a variety of browsers and deal with the severe limitations in IE6 (and 7). But Andy suggests that we develop our sites in order to enable special features on browsers that support them. This is not about severing your support for IE; it’s about giving Firefox a treat because it’s been a good little fox. The more ‘advanced’ techniques such as adjacent sibling selectors and attribute selectors are discussed, and we’re given examples that illustrate just how much sense it makes to use them: not just to achieve ‘cool’ new effects, but to push forward the growth of the web; to say to browser developers (*ahem*), “I’m using the latest layout techniques to enable a better user experience of the web - you need to make your browser support them.”
This version of elliotjaystocks.com makes extensive use of these techniques (and general ‘ethos’), and you can read more about it in this blog article (although I must admit I’ve yet to use anything from the CSS3 specification - I feel an experiment coming on!)
It’s not just about pushing things forward for browser vendors and users, by the way. Andy suggests that we “should take advantage of these tools now, if only so you can become familiar with how they work.”
Parting thoughts
There are some very wise words contained in this wonderful book’s pages. My only real gripe is with the book’s title: Andy uses the term “Transcendent CSS” throughout the book (complete with a capital T), yet the title uses the word “Transcending“. I’m not suggesting this is a mistake and of course there are plenty of arguments for the usage of this title, but if only for the sake of continuity, I would’ve preferred “Transcendent CSS”. However, it’s a small point, and it’s only me being fussy. This is an excellent, well written, and actually rather witty book. Buy it!
Oops. This appears to have become a book review. :-/
4 comments (closed)
Comments are currently closed on this entry, but you can still read those that have already been posted...
Search
Speaking engagements
- Web Developers Conference 12th November 2008
- Spletne Urice, Ljubljana 29th October 2008
- SkillSwap Brighton 20th August 2008
- Future Of Web Design, London 17th & 18th April 2008
- Future Of Web Design, New York 7th November 2007
- SkillSwap Bristol 25th September 2007
- iDesign: design for life (part of the London Design Festival) 18th September 2007
- Oxford Geek Night 25th July 2007
Recent posts
- Why being freelance does not mean you have to work more hours
- Starkers for WordPress 2.6.2
- Forthcoming speaking events
- Thwart the design thieves feature in .net magazine
- Death to IE6
- Vote for my SXSW ‘09 panels
- Bypassing the new Delicious site
Categories
- ALL CATEGORIES (89)
- Apple (9)
- Carsonified (2)
- Cooking With Beer (1)
- Design inspiration (2)
- Life In The Real World (32)
- Publication & Recognition (21)
- Software (14)
- Speaking Engagements (11)
- That Internet Thing (15)
- The Business (5)
- This Site (14)
- Travel (10)
- Tutorials & Resources (10)
- Web Design (32)
- Wordpress (5)
- Writing (1)
Blogroll
UPDATED! I’ve been known to while away a few hours on these blogs, most of which are written by my friends in the industry...
- Jørgen Arnor Gårdsø Lom
- Jina Bolton
- Nathan Borror
- Mark Boulton
- Sam Brown
- Andy Budd
- Kevin Cornell
- Jeff Croft
- Jon Hicks
- I Love Typography
- Shaun Inman
- Roger Johansson
- Daniel Mall
- Kyle Meyer
- D. Keith Robinson
- Jason Santa Maria
- Dave Shea
- Jonathan Snook
- Jon Tan
- Typesites
- Tim Van Damme
- Khoi Vinh
- Web Designer Wall
- Rob Weychert
Recent Comments:
- Rajesh Pancholi said: sorry for the babbling : )
- Rajesh Pancholi said: Good for you, remember why you’re making the change and don’t...
- prisca said: Elliot, great to read you’re making such a success of your freelance life ;-)...
- Christoph said: Very motivating and encouraging article! But I have some second thoughts :-)...
- Pete Eveleigh said: BTW I loved this bit… I’m not the type of guy who’ll write a blog...
- Pete Eveleigh said: I tend to agree with what you say but the article doesn’t really say...
- Gary Stanton said: Wish I knew how you did that. I’ve been freelance for around three years...
- Phil Bowell said: Whilst your post is very encouraging, I’m in agreement with John (the...
- Dave Ellis said: I seem to be going the opposite way, I need to make a conscious decision to work...
- Alex Older said: I’m looking to make the jump after Uni depending on how things go and this...
Recent Reads
-
Basics Design: Layout (Gavin Ambrose & Paul Harris) - A beautifully designed book about beautiful design. Some key layout principles are presented in an engaging way, and this is more a book about inspiration than pure instruction.
-
Poe: Illustrated Tales of Mystery and Imagination (Edgar Allan Poe) - Some fine contemporary illustrrators take on some Poe classics and the result is a gorgeous collection of words and art.
-
Penguin By Design (Phil Baines) - A history of Penguin Books’ cover designs, as educational and inspirational as you’d expect from this prolific publisher.
-
Thinking with Type (Ellen Lupton) - I first saw this sitting on a desk in the nytimes.com offices, and after thumbing through it, realised it was one of the best books about the technicalities of typography that I’d seen.
-
Hellboy: The Troll Witch and Other Stories (Mike Mignola) - The latest Hellboy trade paperback collects yet more classic stories, although this time Mignola is joined by other artists.
-
The Ten Commandments of Typography (Paul Felton) - A book of two halves (the flip-side deals with so-called ‘Type Heresy’), this is a witty but informative book bout typographical techniques.
-
Great Beers of Belgium (Michael Jackson) - No, not that Michael Jackson. This is the one who really knows his stuff when it comes to fine beers.
-
London: The Biography (Peter Ackroyd) - A lively, engaging book about the history of London, told as it the city itself were a living thing.
-
Tres Logos (various) - I could look through logo books until the cows come home; this kind of collection is invaluable to the identity designer, and this is, of course, just one book.
-
Business Cards 2: More Ways Of Saying Hello (various) - This is another great source of inspiration and a lovely ‘coffee table’ book that’s a joy to flick through even if you don’t need to design a business card.
-
Schild’s Ladder (Greg Egan) - One of the most full-on sci-fi books I’ve ever read, with its use of real physics and exploration of quantum mechanics shaping much of the narrative.
-
Wolverine: Weapon X (Barry Winsor Smith) - A landmark story in the history of this legendary comic book character, Weapon X has become a real classic.
-
Casa Batlló: Gaudi (various) - Sam and I visited Barcelona last year, where we saw several amazing architectural feats by Gaudi. This book captures some of the beauty that our camera couldn’t.
-
The Fundamentals of Typography (Gavin Ambrose) - This was the first bok I bought specifically about typography, and it pretty much does what it says on the tin, although a nice bit of history is thrown in as well.
-
Analog In, Digital Out (Brendan Dawes) - Magnetic North’s main man explores some arty, experimental projects without any of the ponce usually associated with the genre. This is a book about merging new and old ideas, and it’s inspiring all the way through.
-
The God Delusion (Richard Dawkins) - Possibly one of the most important books in print today.
-
Foundation’s Edge (Issac Asimov) - Another Asimov classic, this part of The Foundation Saga encapsulates some monumental ideas about humanity far beyond the boundaries of regular sci-fi.
-
Web Standards Creativity (various authors) - 10 great lessons for writing better markup, using the latest CSS, and adding subtle Javascript tricks
-
Transcending CSS (Andy Clarke) - Rethink the way you design and code. This book was hugely influential on me whilst building the latest version of this site and made me even more pedantic
-
Dune (Frank Herbert) - An absolutely legendary sci-fi novel full of very complex ideas... much better than the film!
-
Neverwhere (Neil Gaiman) - A dark and charming tale of a man who eschews normal life for the secret underworld of ‘London Below’
Flickr
View all of my photos on flickr
Francis Booth
10.05.07
#
Apologies for a tangentially off-topic post so early, but I think I’ve spotted a WordPress bug: the closing quote after “Transcending CSS” in the first para is an opening quote. Tsk!
It’s probably as it’s after an anchor tag (also look at “Transcending” in the penultimate para).
Elliot Jay Stocks
10.05.07
#
Ah, well spotted, Francis! Definitely a Wordpress bug… looks like I’m going to have to hard-code those character entities.
Interestingly, I encountered another Wordpress bug whilst writing this very post: it fails to render a tag if it appears at the end of a paragraph; e.g: the last word of one of my paragraphs was wrapped in an anchor tag, and it simply wouldn’t display as a link. Not a biggie but it forced me to re-word it…
Again, slightly off-topic, but has anyone else encountered these bugs?
Sean Kennedy
12.05.07
#
I doubt I’d ever notice something like that.
Riccardo
25.05.07
#
Hi mate,
Thanks to share your info with all here.
I’ve bought the book last week.
It’s well explained and I like the visuals.
bye
:)