Below is my select, I need multiple spaces in the display string to be retained as is, however OPTION removes multiple spaces and replaces with one space, how can I use stylesheet to retain the multiple spaces?
steam turbine
resistor arra y
widget analyzer
fiber identifier
Your help is appreciated.
herez the option tag
Below is my select, I need multiple spaces in the display string to be retained as is, however OPTION removes multiple spaces and replaces with one space, how can I use stylesheet to retain the multiple spaces?
In the example, simply treat "sssssss" as 7spaces
steam sssssss turbine
resistor arra y
widget analyzer
fiber identifier
Your help is appreciated.
you have lots of options:
you have lots of options:
a simple one would be to wrap the second,third,etc words in a <span> and then style it to have a padding-left: "7px" or something like that.
It would be wrong of me to mention non-breaking spaces to space your content apart...
example:
steam turbine
resistor arra y
widget analyzer
fiber identifier
An <option> element may not
An <option> element may not have any elements inside it.
Try using non-breaking spaces to add extra space. If you need more formatting than that, you will need to use radio buttons or checkoxes instead of a <select> element.