html

CSS Background not showing in IE

Posted by Michael Hendrickx on December 08, 2009
misc / No Comments

I searched for a while, and could not find out why places.ae wasn’t showing it’s background in IE, but it was showing it in Firefox (didn’t check other browsers).

Apparently, I had a “mistake” in my CSS files, and IE seem to trap more on this than firefox. I had the following line:


#city{ background:url(http://img.places.ae/p2bg.jpg)repeat-x scroll left top; width:100%; height:208px;}

And the missing space aftedr the url() parameter, prevented IE from showing the background. Just a quick tip in case you run into the same problems.

Tags: , ,

Make HTML pages quickly, Drawter

Posted by Michael Hendrickx on November 27, 2008
internet / No Comments

Drawter is one of those tools that are just too good to be true. It allows you to “draw” a page, and then export it’s CSS and HTML code.

It uses JQuery heavily, and I’m loving it. It does one simple thing, making HTML pages, but does it very well.

Tags: , ,

CSS Optimizer shrinks your CSS files

Posted by Michael Hendrickx on September 06, 2008
web / No Comments

CSS Optimizer is a tool that will shrink your CSS files and shave off a few kilobytes. I tested a few CSS files on places.ae and, shamefully, saw an average of 33% improvement that’s possible. (Though not as bad as some other sites: salik (49%) and dubai police (62%)).

Very useful tool, especially on mobile sites or sites where bandwidth is an important factor.

Tags: , , ,