Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dot (.) in HTML is misplaced

I am working with some Right to Left languages in HTML and the dot at the end of the sentence is always misplaced in browser. It looks fine in text editor but I cannot get the dot to go all the way at the end of the sentence when shown in browser. I tried sublime text and atom but no luck.

Number 1 and 2 shows the wrong place where the dot appears, and the arrow shows where it should actually be(the end of the sentence)!

enter image description here

In text editor its place is right! enter image description here

like image 447
fardin Avatar asked Oct 17 '25 08:10

fardin


2 Answers

That means that the test direction is set left-to-right instead of right-to-left. Try setting the CSS style:

direction: rtl;

More info here: http://www.w3schools.com/cssref/pr_text_direction.asp .

like image 63
larapsodia Avatar answered Oct 20 '25 00:10

larapsodia


I think it is because of the text editor you are using.. My suggestion is " use Jquery to remove all the styling in the FrontEnd" or any other inline styling.

If doesn't works for you then please share the link.

like image 34
Anurag M. Avatar answered Oct 19 '25 23:10

Anurag M.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!