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 …

But this is not working.. I am doing it because i want to keep the left property dynamic .. :) Is there any possible way to do it ..

That should actually work. Are you sure @var has some value ?

Thanks & Regards,
Dhruva S…

Joan
Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html

  • “I, Joan Crawford, I believe in the dollar. Everything I earn, I
    spend.”

On Tue, Nov 3, 2009 at 12:40 PM, Hemant B. <

Yups… @var has value inside it… and not working …

Dhruva S. wrote:

That should actually work. Are you sure @var has some value ?

Thanks & Regards,
Dhruva S…

On Nov 3, 7:22 am, Hemant B. [email protected]
wrote:

Yups… @var has value inside it… and not working …

In what way is it not working ?

Fred

Works… My problem …
Newayz thanks for replies …

Frederick C. wrote:

On Nov 3, 7:22�am, Hemant B. [email protected]
wrote:

Yups… @var has value inside it… and not working …

In what way is it not working ?

Fred