PDA

View Full Version : Right-to-left Text direction


Steve Machol
Sun 2nd Jun '02, 2:32pm
As far as I can tell, using dir="rtl" should result in the text displaying right-to-left. However the alphanumeric characters are not displaying r-t-l while characters such as ?!@#$%^ do. What am I doing wrong?

http://www.optiboard.com/test2.html

Dan615
Sun 2nd Jun '02, 3:05pm
Probably because alpha-numeric characters are usually made into words, and people are aligning text to the right for formatting reasons...you don't want your words backwards do you? RTL just means it starts on the right and types out to the left, like right-alignment in word...I have no idea why that's making the non-alpha-numeric backwards though

sorry if I'm rambling :)


edit: actually I just noticed that you're using HTML strict, try transitional or something and see how it works

Steve Machol
Sun 2nd Jun '02, 3:08pm
Yes, I'm trying to get the text r-t-l, just like the other characters. The reason I'm asking is because I've had to help two Arabic forums set this up. When I test this out myself, it doesn't work with the English character set.

Dan615
Sun 2nd Jun '02, 6:13pm
I don't think that's possible...and I don't know why the other characters are going in reverse...did you try using a different DOCTYPE/DTD?

Steve Machol
Sun 2nd Jun '02, 8:06pm
No I didn't I'll look into it. Thanks!