IE7 relative/absolute positioning bug with dynamically modified page content

This is related to the “hasLayout bug” of IE. The relatively positioned #panel parent doesn’t have layout and hence IE forgets to redraw its children when it get resized/repositioned. The problem will go if you add overflow: hidden; to the relatively positioned #panel parent. #panel { position: relative; overflow: hidden; border: solid 1px black; } … Read more

What bug does zoom:1; fix in CSS?

This provides an internal property known as hasLayout in Internet Explorer versions 7 and lower. The definitive article on the subject is here: http://www.satzansatz.de/cssd/onhavinglayout.html A lot of Internet Explorer’s rendering inconsistencies can be fixed by giving an element “layout.” In this article, the authors focus on some aspects of this complicated matter. “Layout” is an … Read more

Wrong extraction of .attr(“href”) in IE7 vs all other browsers?

It’s certainly not a bug in jQuery but instead browsers’ inconsistent implementations of .getAttribute(‘href’) – I suggest using just .get(0).href for consistency. Seems like you can access the attribute text in IE and Mozilla using .get(0).getAttribute(‘href’, 2) if you don’t want the absolute URI. Note however this won’t work in Opera and I haven’t tested … Read more