Stylesheet_link_tag

I know that the following statement loads the scaffold stylesheet, but
what exactly does stylesheet_link_tag do here?

<%= stylesheet_link_tag ‘scaffold’ %>

Thanks.

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]

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 K.
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