Reply to Re: Proper order for settings to CSS border selector

Your name:

Reply:


Posted by mbstevens on 07/23/06 02:12

On Sun, 23 Jul 2006 11:29:44 +1000, dorayme wrote:

> In article <e9ucr4$bos$1@registered.motzarella.org>,
> jojo <jojo.hafner@gmx.de> wrote:
>
>> dorayme wrote:
>> >
>> >> ASFAIK the order doesn't really matter. But specs (see:
>> >> http://www.w3.org/TR/REC-CSS2/propidx.html ) say that it has to be
>> >> 'width' 'style' 'color'.
>> >
>> > Does not say any such thing at your reference.
>> >
>>
>> It does!
>>
>> 'border' [ 'border-width' || 'border-style' || <color> ]|inherit
>
> Ok, let me explain: to press your point home you need to give the
> OP a reference to how this is to be read. Your reference, in
> itself, does not contain any instructions as to whether the order
> printed here is mandatory. You might think it obvious. It is not
> obvious to me nor might it be to the OP. You need to reference
> the meaning of "||" as well.

It was pretty well hidden, but I knew they had to have it somewhere:

http://www.w3.org/TR/REC-CSS2/about.html
...seems to have the necessary info for interpreting:
http://www.w3.org/TR/REC-CSS2/propidx.html

The most relevant section:
<quoting>
* Several juxtaposed words mean that all of them must occur,
in the given order.
* A bar (|) separates two or more alternatives:
exactly one of them must occur.
* A double bar (||) separates two or more options:
one or more of them must occur, in any order.
* Brackets ([ ]) are for grouping.
</quoting>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация