开发者

Setting rtl/ltr attribute in option element, Internet Explorer

开发者 https://www.devze.com 2023-01-22 20:34 出处:网络
Firefox and Chrome support adding dir attribute to an option element, i.e. <select> <option dir=\"rtl\">some text</option>

Firefox and Chrome support adding dir attribute to an option element, i.e.

<select>
    <option dir="rtl">some text</option>
    <option dir="ltr">some text</option>
</select>

This, however, does not seem to work in Internet Explorer 7 or 8. Did anyone ma开发者_高级运维nage to get some kind of a solution for this?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号