W3C home > Mailing lists > Public > www-style@w3.org > May 2004

[CSS3] @resolution at-rule

From: Sean M. Hall AKA Dante <pianoman@reno.com>
Date: 27 May 2004 23:27:28 +0000
Message-ID: <4109ED42_C541_4F2F_902B_85A11DFD930B@webmail.loadmail.load.com>
To: www-style@w3.org
I propose a '@resolution' at-rule, for specifying rules applying to screen resolutions. 

@resolution(800,600) { 
div#content { 
width: 459px; 
} 
} 
@resolution(1024,768) { 
div#wrapper { 
height: 90%; 
} 
} 
The first agrument is the screen width, the second one the height. 

If this is a daft idea just tell me. 
Received on Thursday, 27 May 2004 19:28:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:30 GMT