Re: [CSS3] @resolution at-rule

Sean M. Hall AKA Dante wrote:
> 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. 

This can already be done with the CSS3 media queries.

   http://www.w3.org/TR/css3-mediaqueries/#width

-- 
Lachlan Hunt

lachlan.hunt@lachy.id.au
http://www.lachy.id.au/

Received on Thursday, 27 May 2004 19:34:14 UTC