Background Alignment Bug Fix

I have recently been working on sites which have had the need for pixel perfect alignment, and I came across an alignment anomaly among the major browsers.

Previously, I have used IE7/ IE6 specific style sheets with completely new backgrounds, each 1px to the left or right of the original to compensate, but I decided to do some digging and found this blog post:

http://www.sohtanaka.com/web-design/1px-background-alignment-bug/

One of the comments I came across suggested a very simple alternative to multiple stylesheets and images, and is the version I used in my recent design:

html{background: #242424 url('../img/background.gif') repeat-y center; margin-left: -.1px; /*1px shifting hack*/}

A simple use of a margin allows the same image to be used for all browsers. What’s even better is that, although technically a hack, it is valid.

The One Song Sketch

One song, one piece of paper. Just doodle.

one-song-one-sketch

The point of this exercise was to see what kind of things I created when listening to different types of music; trying not to think about anything too much – just to have a doodle to see if what you listen to affects your creativity.

I just sat down and had a list of shuffle songs playing straight after the other. Occasionally lyrics made me draw certain objects, but usually I started on one main drawing and added parts to it as the song went on.

Continue reading

Writing from my iPhone 3G S

I still find it incredible that I am able to blog using my phone! This is my first iPhone and I am absolutely loving it so far.

In terms of apps, I am using WordPress, Evernote and Tweetie mainly – but if you have any other great apps you couldn’t live without then please do leave a comment