:media

In this tutorial:
http://railstutorial.org/chapters/filling-in-the-layout#top

<%= stylesheet_link_tag ‘blueprint/screen’, :media => ‘screen’ %>

What is :media? What is its purpose?

Thanks.

On Sun, Aug 8, 2010 at 8:23 AM, Abder-Rahman A. [email protected]
wrote:

<%= stylesheet_link_tag ‘blueprint/screen’, :media => ‘screen’ %>

What is :media? What is its purpose?

http://www.w3.org/TR/html401/types.html#type-media-descriptors

If you’re new to web development, you probably should spend some
time looking through that entire document :slight_smile:


Hassan S. ------------------------ [email protected]
twitter: @hassan

Hassan S. wrote:

On Sun, Aug 8, 2010 at 8:23 AM, Abder-Rahman A. [email protected]
wrote:

<%= stylesheet_link_tag ‘blueprint/screen’, :media => ‘screen’ %>

What is :media? What is its purpose?

http://www.w3.org/TR/html401/types.html#type-media-descriptors

If you’re new to web development, you probably should spend some
time looking through that entire document :slight_smile:


Hassan S. ------------------------ [email protected]
twitter: @hassan

Thanks Hassan.

Adber, take a look at this:
http://www.w3.org/TR/CSS2/media.html#media-intro

Amin Torres wrote:

Adber, take a look at this:
Media types

Thanks a lot Amin.