Professional Web Developer, Apprentice Photographer
For a recent project I was given the task of creating a lightbox style help dialog. The dialog was intended to highlight content of an odd or unknown size in addition to the more controlled information box. Essentially a figure in the shape of 2 adjacent rectangles of variable sizes that needed to be highlighted. The backbreaker — the 8 sided popup needed a large, opaque & diffuse drop shadow to make it stand out off the content.
This was the perfect use case for CSS box-shadow, but its also a public facing promotional site that for good reasons couldn’t just thumb its nose atMicrosoft Internet Explorer. The value proposition for any new CSS property – to make things like shadows and gradients easy to develop and manage with one rule replacing old complex solutions – is lost if you still have to code for that old complex solution juggling multiple PNG images and layering in added markup. Still, that work sounded painful to write for IE6, IE7 & IE8 as well as Firefox, Safari and Chrome so I started looking for an alternative in the proprietary MS filters which are supported in Internet Explorer 5.5 and up.
Some of the most powerful CSS2 and CSS3 selectors defined in the specs are avoided by web developers because they’re not supported by commonly used web browsers. Sometimes in order to work around these shortfalls solutions with large overhead such as javascript libraries are used or code becomes littered with many specialized classes and sites become difficult to maintain.
Over time I’ve developed the habit of using specifically named class attributes to represent exactly where a pseudo-class would have applied. To aid in clarity and maintenance these classes are named with the same text as the name of the pseudo-class being represented.
Update 2/1/2010: I’ve written a new post about my current workflow for geotagging photos based on information from my iPhone
While some cameras and camera phones have the ability to geotag digital photos as they’re taken, most still don’t. However you can still geotag your photographs accurately and automatically with the use of an external GPS enabled device like a cell phone, navigation device, or a dedicated GPS logger. Any device that can record a “GPS track” that can be transfered to your computer can be used to tag photos. And photos taken with any digital camera can be tagged in this manner.
Here I’ll explain how I use GPSPhotoLinker on OS X to batch tag many photos from a day’s photo shoot with GPS tracks recorded on either a Sony GPS-CS1 or a Nokia N95 cell phone in order to create mapped photo galleries, like this one on Flickr.