Javascript set select box size attribute does not seem to work
<p>I have a select box with the class attribute set to <code>class="styled"</code>. The reason being that the select box has been styled (it uses a background url to give it a custom appearance). If I remove this class attribute I can simple use <code>size="10"</code> in the html tag, or change it dynamically with:</p>

<pre><code>var o_select = document.getElementById("mySelect");

o_select.size = "10";
</code></pre>

<p>(or, <code>o_select.setAttribute("size", "10");</code>) </p>

<p>It seems to be the class attribute causing the problems. Please help!</p>
