Re: Style confirmation descriptors

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 UTC