W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Re: Style confirmation descriptors

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 07 Apr 2005 12:32:28 +1000
Message-ID: <42549BBC.9050402@lachy.id.au>
To: Barry <wassercrats@hotmail.com>
CC: W3C Style List <www-style@w3.org>

Barry wrote:
> 
> Lachlan Hunt wrote:
> 
>> Have you actually read any of the CSS specs?  See Media Queries.
> 
> I've read almost nothing about CSS3,

Then why attempt to propose new features if you don't even know what's 
already available or planned?

> and never heard of media queries until recently on this list.
> After reading the abstract on the page you linked to, it doesn't
> sound like it applies to my idea.

Your (very unclear) example looked like it was trying to provide 
different styles based on the screen resolution, which is one thing 
media queries does.  If you had read more than just the abstract, you 
would found this example (among many others):

@media screen and (min-width: 400px) and (max-width: 700px) { ... }

Styles within that @media block will only apply to screen media with 
viewports that are greater than 400px and less than 700px wide. 
Specifying exact resolutions, like 1024x768, as your example did, is bad 
because it is the size of the viewport (the canvas within the browser 
window), not the the screen resolution that matters.

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Thursday, 7 April 2005 02:32:33 GMT

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