I’m having trouble getting html text justified to the right margin (it’s a right-to-left language). When I use the text-align:right attribute, it justifies the text only to the point defined by the width attribute (e.g., at 400pt from the left margin). How can I justify it to the right margin, without having the text extend all the way to the left margin?
Here’s an example:
</head><body><div style="width:400pt;line-height:125%;text-align:right" lang="he" dir="rtl"><bdo dir="rtl">ילח שדגחי שדחי שךלח דק לחי שדלחילחי לחדגי חליל ש דגחי שדגחכילח שדגחי שדחי שךלח דקילח שדגחי שדחי שךלח דק לחי שדלחילחי לחדגי חליל ש דגחי שדגחכילח שדגחי שדחי שךלח דקילח שדגחי שדחי שךלח דק לחי שדלחילחי לחדגי חליל ש דגחי שדגחכילח שדגחי שדחי שךלח דקילח שדגחי שדחי שךלח דק לחי שדלחילחי לחדגי חליל ש דגחי שדגחכילח שדגחי שדחי שךלח דק</bdo></div></body></head>
Thanks.
If I understand what you are wanting correctly, then you shoud replace
with
You can see what this looks like here.
By the way, why do you have a final kaf
ךin the middle of the wordשךלח?