W3C home > Mailing lists > Public > public-cwm-talk@w3.org > July to September 2010

Question about at-rule @media

From: Johan DESMYTER <moilegnome@gmail.com>
Date: Mon, 5 Jul 2010 20:10:02 +0200
Message-ID: <AANLkTik9W5w0Kt2ed_S0E3wCpXpRXOsEnidJYxkthgd2@mail.gmail.com>
To: public-cwm-talk@w3.org
Hello,
i've search quit a long time and can't find out something. (from
http://www.w3.org/TR/CSS2/syndata.html#at-rules and
http://www.w3.org/TR/CSS2/media.html)

 is there a rule for incoherent use of @media. See example below :

 import a css like this :
 > @import "my_css.css" print; /* so a css for print media */

 and the content of "my_css.css" :

> @media screen{
>     h1 { color:red; }
> }

Red color will apply on witch media? What is the rule for that kind of case?

Thank a lot for helping me,

Yggdra
Received on Tuesday, 6 July 2010 13:31:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 July 2010 13:31:56 GMT