W3C home > Mailing lists > Public > www-style@w3.org > August 2008

Re: @media and browsers conditional statments

From: Keryx Web <webmaster@keryx.se>
Date: Tue, 12 Aug 2008 21:39:32 +0200
Message-ID: <48A1E6F4.70509@keryx.se>
To: CSS 3 W3C Group <www-style@w3.org>

Simetrical skrev:
> I am far from the most experienced CSS author here.  Probably you have
> much more experience than I do.  But my mind boggles at the claim that
> we don't use browser sniffing in CSS. 

I write not from a perspective as "experienced" (I know most people on 
this list have more experience than I do), but from a perspective of 
dealing *daily* with complete newbies. I teach this stuff and 
participate daily on forums where newbies interact.

There are two things i've learned so far:

1. You can not assume good faith from everybody. Not from newbies and 
not from the same people when they progress. Once they've found a 
technique that "works" (in their view), many people will stick to it.

2. You can not assume that people read good books or the spec.

I have tried to persuade the Swedish national agency for schools to 
adopt standards based web development. The people in charge of the 
curricula did not even know what I was talking about.

The only @ua or @media (ua) rule that will get its point across would be 
something that is so verbose that it will severely challenge the lazy 
developer and very clear:

(gecko) but_only_versions_between (1.7.0) and (1.9.1) { ... }

Lars Gunther
Received on Tuesday, 12 August 2008 19:40:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC