I have an absolutely positioned element that I move with the help of jQuery using the CSS propertly 'left'.
$("#element").css('left', '103px');
In Firefox this works as expected. However in Safari I can see the style appearing in the Web Inspector under element.style, but the style isn't updated. If I disable (and re-enable) any matched CSS-rules (even those not applied directly to my div) the style being applied with jQuery is rendered.
I'm running Safari 5.0.6 on an old PowerMac, with jQuery 1.7.2.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…