W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: [W3C docs] We should teach by example.

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Sat, 7 Jul 2007 10:58:14 -0400
Message-ID: <6b9c91b20707070758n275ec04dk671b3a30d81eaf05@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

On 7/7/07, Philip TAYLOR <Philip-and-LeKhanh@royal-tunbridge-wells.org> wrote:
>
>
> Michael A. Puls II wrote:
>
> >> > 5. In the css, I see the last property for a selector is not terminated
> >> > with ;
> >>
> >>     In CSS, ";" is a separator, not a terminator
> >
> > You are correct and I don't dispute that.
> >
> > However, I'm talking about situations where you format it programming
> > style like:
> >
> > test {
> >    property: value;
> >    property: value
> > }
> >
> > , which would just look better with an extra separator and would be
> > more presentable to those nitpicking about such things.
>
> I disagree.  It may look better to you with an additional separator:
> to me, the following looks better (note that I also align my
> braces differently).  Both are correct.
>
> test
>   {
>    property: value;
>    property: value
>   }

To me, it doesn't really matter whether the extra separator is there
or the brace styling that is used.

-- 
Michael
Received on Saturday, 7 July 2007 14:58:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:46 UTC