Hello
I have an application that could be either in RTL or in LTR.
This is set in dir attribute of the <html> tag
I would like to display the text: "People [15]" inside an <option> tag.
A problem occurs when the page is viewd in "RTL" mode.
Then the text in the <option> tag reads: "[People 15]"
This obviously wrong
Here is a code segment that shows what I mean:
I have noticed that providing the 'direction' style attibute to the <option> tag has no effect. I also tried dir="ltr" inside the tag, but still no effect.
I noticed that this attribute has an effect on the entire <select> tag, but that causes the text to the left aligned, even though it should be right aligned (remember? <html dir="rtl">)
setting the align attribute to the option tag has no effect too
help would be appreciated
Jason