- From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
- Date: Fri, 28 May 2004 09:29:54 +1000
- To: "Sean M. Hall AKA Dante" <pianoman@reno.com>
- Cc: www-style@w3.org
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