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

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

From: Philip TAYLOR <Philip-and-LeKhanh@Royal-Tunbridge-Wells.Org>
Date: Sat, 07 Jul 2007 15:51:11 +0100
Message-ID: <468FA85F.7020202@Royal-Tunbridge-Wells.Org>
To: "Michael A. Puls II" <shadow2531@gmail.com>
CC: HTML WG <public-html@w3.org>



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
  }

Philip Taylor
Received on Saturday, 7 July 2007 14:51:13 UTC

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