Pages

Saturday 30 January 2010

Double margin bug in IE6

Are your containers not where they're supposed to be in IE6 but fine in all other browsers? You've possibly caused the double margin bug to appear.

PNGs and IE6 without using JavaScript

To get IE6 to render PNGs without that white background you can use a combination of the IE propriatary CSS filter and Conditional Comments. There are lots of solutions out there that rely on Javascript to do this, but it really isn't neccessary.

Using CSS Hacks

The best advice I can give is DON'T. It is possible to create a front end that looks the same in IE6+, FF2+ and Chrome without resorting to CSS hacks. Rewrite your CSS if you have to.