Makes, sense, I hope this feature comes soon, it would be handy!
Thanks for your help!  Kevin

On Nov 29, 12:53 pm, "Nathan Weizenbaum" <[EMAIL PROTECTED]> wrote:
> You can't embed variables into filters. You'll be able to eventually
> (probably as of Haml 1.8), but not yet.
>
> I think the best option would be to move the static stuff into an external
> CSS file, then do something like
>
> %style{:type => "text/css"}
>   == #calendar_container { height: [EMAIL PROTECTED]; }
>
> - Nathan
>
> On Nov 29, 2007 10:50 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED] >
> wrote:
>
>
>
> > ok, so I have a situation where I need to put in some inline css, for
> > example...
>
> > @widget.height is what I need to put into it...
>
> >  / Inline Style for Theme
> >  %style{:type => "text/css" }
> >    :plain
>
> >      #calendar_container {
> >        height: = @ widget.height;
> >        background-color: #ffffff;
> >        border: 1px solid #cccccc;
> >      }
>
> > The above doesn't work, I have tried many variations, can anyone point
> > me in the right direction?
>
> > Thanks
>
> > Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to