Suggested Solution for more RTL\LTR Agnostic Web

Greetings,

I work a lot on multi-lingual sites, and it happens to be that most of them
contains both LTR and RTL Languages.

Everytime we have to create one style (the main stylesheet), and if the
Language is RTL, we include another stylsheet to almost flip all of what is
inside the main stylesheet to the oposite direction horizontally, if it is
a margin-left we make it margin-right,float:left becomes float:right , and
so on.

So we created a css class to do the floating that is "pull-start" and
"pull-end", this haven't solved the issue completly, but now we override
this class only instead of placing it in all classes.

if the css attributes could have properties like : margin-start:,
margin-end,Float:start,float:end, the same goes for all properties that
have left and right, including positioning of the element , so adding to
top,left,bottom, and right, the suggestion is to have start and end.

depending on the direction of the document, the browser should interpret
the start and end accordingly.

Regards,

Saad Alothman

Received on Wednesday, 11 March 2015 17:00:36 UTC