Fahim Patel
2012-Sep-04 07:01 UTC
what is :media in application layout in .js and .css include tag???
<%= stylesheet_link_tag "components/jscrollpane/jscrollpane.css", :media=>"screen" %> <%= stylesheet_link_tag "components/tipsy/tipsy.css", :media=>"all" %> what is this :media? and what is the this "all" and "screen" if there are more than "screen" and "all" in media tag than explain it also.... thanks Fahim Babar Patel -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Joh-xuUWhGUJ. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Sep-04 08:04 UTC
Re: what is :media in application layout in .js and .css include tag???
On 4 September 2012 08:01, Fahim Patel <pafahim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > <%= stylesheet_link_tag "components/jscrollpane/jscrollpane.css", > :media=>"screen" %> > > <%= stylesheet_link_tag "components/tipsy/tipsy.css", :media=>"all" %> > > what is this :media? > and what is the this "all" and "screen" > > if there are more than "screen" and "all" in media tag than explain it > also....Googling for stylesheet media screen brings up this as the first link http://www.w3.org/TR/CSS2/media.html 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.