You are here: Re: Proper order for settings to CSS border selector « HTML « IT news, forums, messages
Re: Proper order for settings to CSS border selector

Posted by dorayme on 07/23/06 01:29

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.

And just to make sure, let me comment on a possible thought you
are having. "Why would they print it in this order if they did
not mean it to be that way?" The answer is that there is no way
they can print an example or template without printing it in some
order.[1]

The point, again, is that you cannot always judge how something
is to be interpreted by staring at it. Take the word "zymotic" as
an example: staring at it will never reveal its meaning. If you
otherwise know its meaning, it will not impress a doubter by
referring her to the word itself.

[1] They could with javascript or php perhaps: have the order
keep changing every second and you get to see that it does not
matter. That would be a way it could show the order is not
important.

--
dorayme

 

Navigation:

[Reply to this 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

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