Re: @media and browsers conditional statments

On Mon, Aug 4, 2008 at 12:08 AM, Francois Remy
<fremycompany_pub@yahoo.fr> wrote:
>
> What about a @media browser-base filtering of CSS ?
>
>     @media (gecko) {
>         /* This will be available for gecko-based browsers only */
>     }

On Mon, Aug 4, 2008 at 12:35 AM, Benjamin Hawkes-Lewis
<bhawkeslewis@googlemail.com> wrote:
>
> I suggest reading the most recent discussion of a similar
> proposal (@ua):
>
> http://preview.tinyurl.com/5vuhpe

At least this is more maintainable than e.g. "Conditional Comments" …
However, "user agent sniffing" means a maintenance problem in its own,
and history already shows that it never works reliably [1]. Also, I
wonder if these approaches are not standards-adverse in principle.


[1] http://en.wikipedia.org/wiki/User_agent#User_agent_spoofing

-- 
Jens Meiert
http://meiert.com/en/

Received on Tuesday, 5 August 2008 07:37:33 UTC