I need to know if there is a method or something, that will give me the value of the CSS tag float.
I am working on a system that requires Arabic language meaning it needs to be RTL ( Right-To-Left ) but the English version still needs to work.
I am gonna add a language class to the HTML tag which will change depending on the user's language. So I wold like to add a float right on the tags that need to be RTL.
sorry about the grammar English is not my first language.
var float = $('.element-class').css('float');
to check the current float CSS property. To change it, the code is almost the same:$('.element-class').css('float', 'right');
for example.