jc_gmk
05-15-2007, 02:27 PM
Help...
I'm trying to create a select box in a form with unselectable options.
It works fine in Mozilla but not IE.
This is how i'm coding it...
<form>
<select>
<option disabled="disabled">UNSELECTABLE OPTION</option>
<option value="something">SELECTABLE OPTION 1</option>
<option value="something">SELECTABLE OPTION 2</option>
<option value="something">SELECTABLE OPTION 3</option>
</select>
</form>
I have seen it done using the <OPTGROUP> tag but just gives me a heading LIKE THIS which i'm unable to change the style of using css.
Any suggestions?
I'm trying to create a select box in a form with unselectable options.
It works fine in Mozilla but not IE.
This is how i'm coding it...
<form>
<select>
<option disabled="disabled">UNSELECTABLE OPTION</option>
<option value="something">SELECTABLE OPTION 1</option>
<option value="something">SELECTABLE OPTION 2</option>
<option value="something">SELECTABLE OPTION 3</option>
</select>
</form>
I have seen it done using the <OPTGROUP> tag but just gives me a heading LIKE THIS which i'm unable to change the style of using css.
Any suggestions?