aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index c7c2b5434..3a51ba74b 100644
--- a/src/support.js
+++ b/src/support.js
@@ -225,7 +225,7 @@ jQuery.support = (function() {
div.innerHTML = "";
marginDiv = document.createElement( "div" );
marginDiv.style.cssText = div.style.cssText = divReset;
- marginDiv.style.marginRight = "0";
+ marginDiv.style.marginRight = marginDiv.style.width = "0";
div.style.width = "2px";
div.appendChild( marginDiv );
support.reliableMarginRight =