How do you make a separator in a select tag?
New Window
New Tab
-----------
Save Page
------------
Exit
See Question&Answers more detail:osHow do you make a separator in a select tag?
New Window
New Tab
-----------
Save Page
------------
Exit
See Question&Answers more detail:osThe disabled option approach seems to look the best and be the best supported. I've also included an example of using the optgroup.
optgroup (this way kinda sucks):
<select>
<optgroup>
<option>First</option>
</optgroup>
<optgroup label="_________">
<option>Second</option>
<option>Third</option>
</optgroup>
</select>