I wrote a plugin that works great in every browser except Webkit (Safari, Chrome), and the problem I'm experiencing with Webkit is intermittent. What appears to happen is that the first time a Webkit browser sees the page, it miscalculates the position of a div centered using CSS. Reloading the page fixes the problem without fail. Sometimes I can even clear the cache of a Webkit browser and it will load the page properly but more often than not, it throws the bug. When using Chrome to inspect the page, it shows that the div has no width, and the centering is then calculated without it, throwing the position of the div off. My plugin sets the width and height of the div to be the same as the dimensions of the first image within the div, however even if I use CSS inline on the div itself to set its dimensions, the bug still occurs. Has anyone experienced this?