A few weeks ago I was finally pushed to the edge and wanted to make my website IE compatible, don’t ask me why. Well, since the site looked great in Firefox and Opera, which can run on my Ubuntu box, I didn’t care much at first.
The CSS layout was screwed up, because Internet Explorer doesn’t like it when you use a absolute div without a height and with “overflow: auto”. What happened, was that IE stretches the div to it’s full length, what pretty much sucks. So I had to find a solution for this stupid problem. The solution is as simple as it is scary. As it happens to be, IE uses CSS values which start with an underscore (IE just ignores it). So I was able to give all my div’s a “_height” in percentages and it was fixed. OK, the layout isn’t exactly the same as in Firefox or Opera, but hey, at least you don’t get a website which is a few kilometres long
Comments
Leave a comment Trackback