开发者

Problem displaying Right-to-left arabic text while viewing page in IE7

开发者 https://www.devze.com 2023-01-12 17:25 出处:网络
I have a sturuts application that displays some data from the database . This data consists of arabic characters. when i view the application in IE6, the right to left orientation of the arab开发者_运

I have a sturuts application that displays some data from the database . This data consists of arabic characters. when i view the application in IE6, the right to left orientation of the arab开发者_运维知识库ic text is apperaing properly. But when i view the same page in IE7, the arabic text appers as left-to-right text.

Can somebody help me out with this.


You can control the text direction with the "dir" attribute.

<div dir=ltr> This is LeftToRight </div>

<div dir=rtl> This is RightToLeft </div>
0

精彩评论

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