tags:

views:

13

answers:

0

hi,

I am using a WebBrowser to render some HTML text. The WebBrowser is located within a rich client. I can detect the window's orientation when the rich client is launched. How do I make the text rendered within the WebBrowser to be dispayed in RTL order.

I have tried body.setDir("rtl"), but it only aligned all the text in the WebBrowser to the right. It does not really reverse the content. For example, I have a photo that is displayed on the left and then a segment of text displayed on the right.

After calling body.setDir("rtl"), it only aligned everything to the right in the WebBrowser, but it did not move the photo to the right, and it did not move the text to the left.

Thanks a lot!

related questions