Displaying 1 result from an estimated 1 matches for "newayz".
Did you mean:
neways
2009 Nov 03
4
Rails in css ..
Hello all,
Actually i am having a small problem.. googled it but did''nt find any
clue..
So what i want to do is that i want to insert ruby variable in css style
property.. as like ..
<div class="abc" style="left: <%= @var * 6 %> px;">
But this is not working.. I am doing it because i want to keep the left
property dynamic .. :) Is there any possible way to