Ruby on Rails Sunday, November 28, 2010

Oh yes, your solution is better, thanks Marnen!

On nov. 28, 02:13, Marnen Laibow-Koser <li...@ruby-forum.com> wrote:
> Zoltan Gero wrote in post #964407:
>
> > Hello,
>
> > how to include CSS file with Haml?
>
> Use Rails' stylesheet_link_tag helper.
>
> > Every way I tried puts the href=...
> > infos
> > after the tag, not inside, like:
> > <style>href="style.css" rel="stylesheet" type="text/css"</style>
>
> You need to learn about how to do attributes in Haml (hint: braces are
> involved; read the docs).
>
>
>
> > In reference I onlye read about JavaScript, not any word about CSS. But
> > Javascript also didn't worked, how should make include it?
>
> Same way.
>
> > Thanks in advance,
> > Zoltn
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment