Setting style with javascript unexpected results
<p>I am detecting browsers and trying to apply style,</p>

<pre><code>alert(BrowserDetect.browser);
if(BrowserDetect.browser == "Opera") {
    document.getElementById(myBox).style.paddingTop = "5px";
}
</code></pre>

<p>Alert Shows the browsers name accurately but why is the style not getting applied?</p>
