myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: [TRINIDAD] Skinning for different agents
Date Thu, 16 Oct 2008 21:05:08 GMT
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 <daraii.tech@gmail.com> 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?
>

Mime
View raw message