On 24 August 2010 18:02, Matt Royer <[email protected]> wrote:
> Colin Law wrote:
>> What I do not understand about this is why this was (apparently)
>> showing on screen when it was in print.css, which presumably is only
>> intended to be used for printing.
>
> That was odd to me too. I guess I was just excited that my issue was
> solved, because I didn't even think to check more into that. Think it's
> something in Rails itself? Or the browsers. Maybe the way you use:
> stylesheet_link_tag :all

That will load all the stylesheets in the stylesheets folder.  If you
have print and screen specific stylesheets you should load these
individually specifying :media => "screen" and :media => "print" for
the two relevant files so that one will be used on screen and the
other for printing.

Colin

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