I want to make a choice that opens from right to left.
This is what I see in Google Chrome (correct)
and this is what I take with Firefox (error)
Here is the code and example: http://jsfiddle.net/nxTTd/65/ ...
...
How can i fix this? Many thanks
, . , , , Chrome , Firefox . , <option> ltr, , , a <select> , , , <option>. RFC, , , , Mozilla, .
<option>
ltr
<select>
, : <select>, , , <select> - , <div> s, CSS Javascript. , , , , .
<div>
auto, , , , .option_class, .
.select_class { width:auto; direction: rtl; text-align:left; text-overflow: ellipsis; }
text-overflow: ellipsis; .select_class css.
text-overflow: ellipsis;
.select_class
@Luca Black , .
.select_class { direction: rtl; text-align: left; text-overflow: ellipsis; width: auto; }
, 150px auto. Firefox.
Source: https://habr.com/ru/post/1547947/More articles:Remove full-screen window decoration / Chrome OS border mode / kiosk mode - javascriptWhy is my KeyAdapter always one step behind? - javaScala: value :: is not a member of Int - scalaHow to set WebGLRender background to transparent - javascriptHTML selection and related directions options (ltr & rtl) - htmlAppCache works fine with Firefox (30), but not with IE (11) - internet-explorerHow to write a for-loop to read 1000 text files in Matlab? - matlabBootstraps ICheck-Helper does not start when event changes - jqueryHow to convert a binary representation with an IEEE byte (small number) - cDelphi + iOS: how to declare a simple ObjC class? - iosAll Articles