Is there an separator for elements?
The 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> disabled option (a bit better): <select> <option>First</option> <option disabled>_________</option> <option>Second</option> <option>Third</option> </select> And if you want to … Read more