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

On 4 September 2012 08:01, Fahim P. [email protected] wrote:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs