css

Make a Drupal theme look better on the iPhone

xdeb.org on the iPhoneI’m using Safari on my iPhone to browse the web more than I thought I would. Mobil Safari display pages very much like Safari on Mac OS X so it mostly works really well. A web design however rarely works well on both a big computer screen and a small handheld screen, even a high resolution one like on the iPhone.

I was not satisfied with the way xdeb.org looked on the iPhone. I wanted a simple way to improve it without the need for a separate theme or other more complicated solutions.

Give the Drupal Administration Menu a new look

The Drupal Administration Menu module is really nice. It gives you quick and easy access to all administrative meny items and integrates with the devel module. I use it on all the sites I work on.

I’m not to fond of the default look so here follows what I have done to change it. The new css and background images are available for download.

The problem with PNG gamma correction, and a AppleScript to fix it

The PNG format (Portable Network Graphics) was created to be a replacement for the GIF format. It is patent free open standard with a number of advantages over GIF.

One of the few problems with PNG images is that it’s difficult, not to say impossible, to match colors in CSS and GIF images with does in a PNG image. This is a major headache for web designers and according to information I have found on the web the reason is the PNG gamma correction function.

Read more about PNG and the gamma correction problem on The Sad Story of PNG Gamma “Correction”.

Now on to how to fix the gamma correction problem.

Syndicate content