The Empty Flask

Tutorials

IE7 CSS Bug

This appears to affect all beta builds of IE7 (or at least beta 2 & 3). A CSS statement containing multiple #id.class selectors will only style the last item in the list.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...

Camera Projection Tutorial

Acquire a Source Image

Find a photo with:

  • Few overlapping elements
  • Simple perspective
  • EXIF data from the camera (focal length, distance, other useful information)

Prepare the Image

Bring it into Photoshop and remove any unwanted parts from the...

Refinery CMS + Sass + Heroku

It was frustrating to get this combination to work, since Heroku uses a read-only filesystem (except for /tmp), and if application.css doesn't exist in /public/stylesheets, Refinery will serve its own default CSS.

So in case you're trying to do something...

Making labels with FOP

Not many people have ventured into generating PDF documents from XML yet, but it's actually not too difficult if you are familiar with XML or HTML. I recently had to create thousands of scannable ID cards and address labels from a database, and XSL-FO...

Categories