Archives for May, 2008
Title Case for Movable Type
22nd May 2008 — 1 comment
John Gruber shared a code snippet that converts strings to Title Case. It’s actually more clever than it sounds, taking into account the need to keep a collection of small words uncapitalised, and correctly handling punctuation issues. Here’s a version…
TextMate Tip for CSS — Single Line Overview
9th May 2008
CSS files need to be formatted so they are readable at two levels: the broad level of scanning the document selectors, and the finer level of locating individual property rules within selector blocks. I’ve tried several ways of formatting my…