On Feb 28, 2004, at 4:37 PM, Chris Stratford wrote:
well - I dont understand why whenever I read someones code - its using the goofy method...
I mean - if most people prefer the lined up method...

Most people *who have expressed a preference here* - that is not "most" people :)


A lot of code examples out there use either the inline style:

.foo { some : thing; }

(usually to conserve space on the page) or this style which is very common in Java, JavaScript and a lot of C and C++ code:

.foo {
        some : thing;
}

Because of my C / C++ / Java background, I tend to use the latter style in CSS because that's what most other folks around me do (i.e., I am consistent with their code). Personally, I do prefer the "BSD method" but I just don't use it much! :)

Sean A Corfield -- http://www.corfield.org/blog/

Got Mach II? -- http://www.mach-ii.com/

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to