ie8 div jumps after page load
I have the following setup. 1 column with a left floated inner column and a right floated inner column. Works very well on firefox. IE does something strange.
I have parts in the left column that is loaded from weather.co.za with javascript. The right column has an ad loaded and displayed with jQuery.
On initial load everything is fine. Right column displays as it should. As soon as the javascript in t开发者_StackOverflow社区he left column or right column displays the content the right column "jumps" 10px to the left.
I have checked and do not seem to find any code that would cause the jump.
I am still learning as I go along, please help!
Had margin-left:10px. changed that to padding-left:10px; now it is working!
In my case (trying in IE 7) I had to change:
margin-left: 6.35em;
to
margin-left: 90px;
em
to px
... doing so no more jumping happens after page load. IE is really really bad!
精彩评论