stylesheet_link_tag returns a stylesheet link tag for the sources specified
as arguments. Basically you do not need to specify the .css extension. It is
appended automatically. If you have several CSS files in the stylesheets
directory, you can include *all* styles using :all as the source.
---
Edmond Kachale
Software Developer
Baobab Health Trust (http://www.baobabhealth.org/)
Lilongwe
Malawi

site:      http://sites.google.com/site/ceekaysgroup/
blog:     http://edceekays.blogspot.com/
profile:  http://www.google.com/profiles/kachaleedmond


On 14 June 2010 19:01, Marnen Laibow-Koser <[email protected]> wrote:

> Abder-rahman Ali wrote:
> > I know that the following statement loads the scaffold stylesheet, but
> > what exactly does stylesheet_link_tag do here?
> >
> > <%= stylesheet_link_tag 'scaffold' %>
> >
>
> Read the docs and look at the generated HTML, and all will become clear.
>
> > Thanks.
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]
> --
> Posted via http://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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to