v1.6.1 messes up layout in IE8
|Reported by:||janhancic||Owned by:|
Including jQuery 1.6.1 in your page and not doing anything with it causes some wierd behaviour in Internet Explorer 8. I can't really describe what the problem is, but here is a simple HTML file that reproduces this http://jsfiddle.net/f3bwS/ Click run, the result window will flash red then turn white, if you then resize the window it will go back to red as it should.
If you move the SCRIPT tag that "includes" jQuery from the body of the page, to the HEAD of the page (and before the STYLE) all is OK: http://jsfiddle.net/kGzwJ/ Moving SCRIPT into HEAD and after STYLE still causes this behaviour.
If you use jQuery 1.6 there is no problem. I've had this problem on http://www.mojalbum.com and now I've reverted back to 1.6 to temporarily solve the issue.