11 7:00 PM
Subject: Re: [Potlatch-dev] working with range attribute selector
Komzpa wrote:
> The sign is called "less or equal" and is spelled "<=", if I remember
> correctly.
Yep. And you probably want to put <=92 as the first line and <=4 as th
Komzpa wrote:
> The sign is called "less or equal" and is spelled "<=", if I remember
> correctly.
Yep. And you probably want to put <=92 as the first line and <=4 as the
last, as rules are executed in order...
cheers
Richard
___
Potlatch-dev mailing
> way[cable=optic][total_fibres=<4] {width: 2;}
> way[cable=optic][total_fibres=<23] {width: 3;}
> way[cable=optic][total_fibres=<46] {width: 4;}
> way[cable=optic][total_fibres=<92] {width: 5;}
> But the problem is that i can only make it display two widths, apparently 2
> and 3. If i specify tota
I want to apply different line width depending on a number. This is what i'm
writing
/* Cables */
way[cable=optic] {text:name; text-color: black; font-size: 10; text-position:
line; text-halo-color: white; text-halo-radius: 2; color: blue; width: 2;}
way[cable=optic][total_fibres=<4] {width: 2;}