agahi agahi - 3 months ago 13
CSS Question

direction isn't working as expected

I am wondering why direction ltr isn't working on this site. I have changed the direction in div and html tag to ltr but it is still rtl. here http://www.espeli.ir/c/en/5/Sci-Tech

Answer

This is happening because element with class .content has text-align property set to the right. If you remove this property you can see the difference.

Comments