Not sure if this can be done but can I split the text in the option tags?
Example, normal styling:
<option>
tags do not accept HTML content. You can only pad your selections with spaces to format them.
Alternately, there are plug-in replacements for <select>
that use DIV
s and UL
s instead of <select>
that give you more flexibility.
The easier will be to use non proportional (monospaced) font for those boxes and then using right count of nonbreaking spaces like this:
<style>
select{
font-family:monospace;
}
</style>
<select>
<option value="">First - A</option>
<option value="">Car - B</option>
<option value="">Black - C</option>
<option value="">Super Duper - D</option>
</select>