When you’re hacking IE6 compatibility into a site, always remember to try the quick fix first:
.your-class-name {
position: relative;
zoom: 1;
}
When it works don’t ask why, just move on to the next issue.
When you’re hacking IE6 compatibility into a site, always remember to try the quick fix first:
.your-class-name {
position: relative;
zoom: 1;
}
When it works don’t ask why, just move on to the next issue.
Whoa – I have never seen this hack. In what situation would you use this? (Perhaps an example?)
It fixes all sorts of things. I used it to fix a traveling instance of the peekaboo bug today.
This fixes just about all the bugs caused by not having the hasLayout property set. (Tons of info here: http://www.satzansat[...]glayout.html )
It replaces the height:1% hack and doesn’t set a property that actually affects anything since it’s basically magnifying the element to 100%.
It’s definitely a great place to start when IE is getting goofy
Thanks! I will definitely keep this tip handy.
Vamos a ver si funciona
Where were you yesterday? 🙂
http://www.michaelsi[...]control.html
I used a slightly different, more global/brute force fix.
Thanks for the tip. I always have problems with IE compatibility.
Wow. I was just using conditional comments to link a different style sheet when internet explorer was found. Then I would mess around applying different properties until it looked somewhat similar to what it ALWAYS looks like in Firefox. This hack has really helped me get rid of some annoying little discrepancies between my Firefox and IE renderings.
You just saved me a LOT of headache.
I was wondering if you put this code on the style sheet, or in the inline CSS? I will try it both ways to see if it works. My site was built with newer browsers in mind, and I totally forgot to make it compatible with older browsers until I met with a client who has an old PC that needs to be updated. I post their sites on my server as I work on them, and must gain access through my site. When I went to my site I couldn’t beleive how messed up it looked in an older browser.
Thanks for this tip. Saved me a lot of effort!
FTW. You are King of the Lab today.