Sam Edwards wrote: > Dear List, > > Here's my IE Jumpiness problem: I have a bit of javascript-driven > DHTML which causes a hidden element to switch from display:none; to > display:block; (It is actually accomplished by a scriptaculous > Effect.Appear effect) In IE 6 this causes the containing element to > jump a few pixels the first time the visibility is toggled. > > You can see the problem here: http://pluckypuppy.mightyminnow.com/
IE6 can't figure out how wide a 5% padding on body is at first run, and settles for a new value once re-rendering is triggered by hovering on any mainMenu link. IE6' calculation-bugs can never be fixed perfectly, but it'll be a lot easier for IE/win to calculate margins than paddings and it doesn't matter to other browsers. So changing from 'padding: 5%' to 'margin: 5%' on body, will reduce jumping to a minimum. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/