Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 8440 invoked from network); 16 Oct 2008 21:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 21:05:50 -0000 Received: (qmail 87499 invoked by uid 500); 16 Oct 2008 21:05:47 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 87449 invoked by uid 500); 16 Oct 2008 21:05:47 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 87434 invoked by uid 99); 16 Oct 2008 21:05:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 14:05:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrew.rw.robinson@gmail.com designates 209.85.198.244 as permitted sender) Received: from [209.85.198.244] (HELO rv-out-0708.google.com) (209.85.198.244) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 21:04:40 +0000 Received: by rv-out-0708.google.com with SMTP id b17so157039rvf.36 for ; Thu, 16 Oct 2008 14:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wAnaOwfRGTrv0G/gWsvBuKITjTlfjv9t41arCYlnIgA=; b=M7E2SFvvmckxzSTWDDmU2IxYFRQoePI+Abuge2ElJPEj/n6DZU4mE1YTrVrD94jJbp eqZ6X1YiqnTYWxM4f4xFBSlI+gt/ZXXFg29EaMJixxlU7tEulopHT1S6cbejatw5NFu3 R4rnZFQbIVaU1r5QAWLn07bKRtKV6le2Udrlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GxPhF17fVzEYDq38T1uBDA72C9xE5Q6RtqReIA5jx9zxl3zW1kpmp77lUGSreEGfes 0HLX8nI5XvwgdcHvJZ2Zs8i6bIzoXjy7EOGKRuyrRbXDI8HbdSwBy2l48QRYjaYtR87p Q+fYMZhb2Na1LiVnKT5W+EbsHOuEOP0V5Bido= Received: by 10.140.201.4 with SMTP id y4mr1989679rvf.86.1224191108184; Thu, 16 Oct 2008 14:05:08 -0700 (PDT) Received: by 10.141.97.10 with HTTP; Thu, 16 Oct 2008 14:05:08 -0700 (PDT) Message-ID: Date: Thu, 16 Oct 2008 15:05:08 -0600 From: "Andrew Robinson" To: "MyFaces Discussion" Subject: Re: [TRINIDAD] Skinning for different agents In-Reply-To: <2328a9a90810161056k59e1f7ccsa194f05fa614293c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2328a9a90810161056k59e1f7ccsa194f05fa614293c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org You are forgetting the "and" after the browser type see here for the correct syntax: https://issues.apache.org/jira/browse/TRINIDAD-799 Instead of: @agent ie (version: 7) and (version: 8){ use: @agent ie and (version: 7) and (version: 8){ basically the syntax is: @agent [restriction] (and [restriction])* Where "ie" is a restriction and "(version: #)" is a restriction. I believe the agent name has to be first though (I am not sure that "@agent (version: 6) and ie" would work) -Andrew On Thu, Oct 16, 2008 at 11:56 AM, Amaris Nieves wrote: > I have the following lines in my skin css: > > @agent ie (version: 5) and (version: 6){ > ..... > } > @agent gecko,mozilla, webkit{ > ..... > } > > @agent ie (version: 7) and (version: 8){ > ..... > } > > All of them works well except the last one. I've also tried with @agent ie > (version: 7) only but it still doesn't work. > > What can be the problem? >