Preserve whitespace in html select element options using "white-space: pre" NOT working
Form inputs usually map to their relevant native OS controls so they can be hard to style. The usual workaround to keep whitespace from collapsing into 1 space in <option>
s is to use
instead of usual spaces.
eg. one of your options would be:
<option> Any </option>
For more custom appearance, you would hide the real select element completely and replace it with custom markup and javascript.