I have been trying to find these answers in Google, but not getting any
clarity.
I am writing in Rails 2.3.2 but have always lived in a 1.2.x world.
In the 1.2.x world, putting this in an rhtml file would always render
properly for both screen & print...
<%= stylesheet_link_tag 'reports_print.css' %>
<!-- <link href="stylesheets/reports_print.css" rel="stylesheet"
type="text/css" media="all" />-->
<style type="text/css" media="print"><!--
--></style>
In current erb file, screen is rendered properly but not print.
How do I designate it to use the public/stylesheets/reports_print.css
for both screen and print now?
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---