diff --git a/src/prototype/dom/dom.js b/src/prototype/dom/dom.js index ea6fc1332..19523b1a8 100644 --- a/src/prototype/dom/dom.js +++ b/src/prototype/dom/dom.js @@ -3012,7 +3012,10 @@ getOpacity: getOpacity }); - if ('styleFloat' in DIV.style) { + if (Prototype.Browser.Opera) { + // Opera also has 'styleFloat' in DIV.style + methods.getStyle = getStyle_Opera; + } else if ('styleFloat' in DIV.style) { methods.getStyle = getStyle_IE; methods.setOpacity = setOpacity_IE; methods.getOpacity = getOpacity_IE;