From dde208fc4b60aa183899687ec071a6c31556ead2 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Wed, 11 Oct 2006 04:23:04 +0000 Subject: [PATCH] Fix for 193 --- src/jquery/jquery.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index a4ba11f..d8d2564 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1461,6 +1461,9 @@ jQuery.extend({ if (prop == 'opacity' && jQuery.browser.msie) return jQuery.attr(elem.style, 'opacity'); + + if (prop == "float" || prop == "cssFloat") + prop = jQuery.browser.msie ? "styleFloat" : "cssFloat"; if (!force && elem.style[prop]) { @@ -1824,7 +1827,8 @@ jQuery.extend({ var fix = { "for": "htmlFor", "class": "className", - "float": "cssFloat", + "float": jQuery.browser.msie ? "styleFloat" : "cssFloat", + cssFloat: fix["float"], innerHTML: "innerHTML", className: "className", value: "value", -- 1.7.10.4