EN
CSS - white-space: pre with <option> (spaces in option)
6 points
The article topic is called: CSS - white-space: pre with <option> (spaces in option)
But it is impossible to get pre
effect with styles - there is some trick: use
code in HTML to fill spaces.

Practical example:
xxxxxxxxxx
1
2
<html>
3
<body>
4
<form>
5
<label>Layout: </label>
6
<select style="font-family: monospace">
7
<option value="files"> Details</option>
8
<option value="details">Files </option>
9
<option value="files+details">Files + Details</option>
10
</select>
11
</form>
12
</body>
13
</html>