In a drop down list, I need to add spaces in front of the options in the list. I am trying
<select>
<option>  Sample</option>
</select>
for adding two spaces but it displays no spaces. How can I add spaces before option texts?
In a drop down list, I need to add spaces in front of the options in the list. I am trying
<select>
<option>  Sample</option>
</select>
for adding two spaces but it displays no spaces. How can I add spaces before option texts?
@Brian
Good thinking - but unfortunately it doesn't work in (everyone's favourite browser...) IE7 :-(
Here's some code that will work in Firefox (and I assume Op/Saf).
Just use char 255 (type Alt+2+5+5 on your numeric keypad) with a monospace font like
Courier New
.