Articles

November 11, 2010

Django Apps on MediaTemple and main.fcgi error

I was having had an issue with Django on my MediaTemple hosting and the urls being affected by a certain main.fcgi . It happened a while back, and then again recently so I decided to share the solution I found. Simply add the following to your settings.py file. Then restart the app and you should be good to go.

Keep Reading →

August 08, 2010

ie6 double float margin bug

Here is the quickest fix I have found for fixing the ie6 double float margin bug, where all margin values are doubled on floating elements. Just apply: And the element float will be rendered as expected. Go figure...Thanks to http://www.positioniseverything.net/explorer/doubled-margin.html for shining a light on, and fixing this issue.

Keep Reading →

July 07, 2010

ie 7 min-width and button bug

A bug for anyone needing ie7 compatible forms using a min-width on the buttons. This also affects ie8 running in compatibility mode. If you are using a min-width for your form submit buttons then sadly ie7 will align button text to the right of the button. It is un-fixable with just css and the only pure solution is to remove the min-width and either use width:auto; or use width:123px; If…

Keep Reading →

May 05, 2009

Accelerometer setup and usage

To use the accelerometer in an iPhone application you need to add the <UIAccelerometerDelegate> into the .h file of your application: Then in your .m file you must setup the accelerometer:

Keep Reading →