I have the following div with "left: Random Number" inline style so I tried to use most of css change functions but no luck .. the problem that I property of left is random and I want to change left to right.
<div class="portfolio" style="left:0">Content</div>
<div class="portfolio" style="left:230">Content</div>
<div class="portfolio" style="left:446">Content</div>
<div class="portfolio" style="left:841">Content</div>
I want jQuery to change all left to right not the property
I tried this but didn't work
$(".portfolio").css({"left": "", "right": ""});
also tried this
$(".portfolio").css({"left", "right"});
so any solution?