Re: [WSG] :: CSS Code Formatting ::

2008-05-12 Thread Korny Sietsma
Hmm - we're currently debating what to do about dynamic css on our project (Ruby on Rails based) There seem to be a few options: - No dynamic css at all - Simple templated stuff, where the code is basically css + inline ruby: #whatever { background-color : %= background_colour %; } - Something

Re: [WSG] :: CSS Code Formatting ::

2008-05-12 Thread Mark Harris
Korny Sietsma wrote: I'd be interested in the thoughts of folks here. A simple template would have the advantage of (possibly) working well in css editors and tools; but there also seems to be some buzz around tools like Sass that take some more repetition out of the CSS. Is SASS a standard?

Re: [WSG] :: CSS Code Formatting ::

2008-05-12 Thread Adam Martin
this is exactly why we use serverside scripts along with a config file to define some base declarations such as colors. then we can change the color in one place only, using the below example #results .fn { font-size: 0.86em; color #739EA8; } #results .tel { font-size: 0.86em; color #33; }

RE: [WSG] :: CSS Code Formatting ::

2008-05-09 Thread Thierry Koblentz
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Martin Sent: Thursday, May 08, 2008 10:13 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] :: CSS Code Formatting :: We use a very similar approach - php to deliver the css. This allows us

Re: [WSG] :: CSS Code Formatting ::

2008-05-08 Thread David Hucklesby
On Tue, 6 May 2008 19:19:24 +0530, Amrinder wrote: I was reading this article on Smashing Magazine which shows how to increase code readability, http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css- styleguides/ but I have listened to Andy Clarke over Lynda.com

[WSG] :: CSS Code Formatting ::

2008-05-06 Thread Amrinder
Hi, I was reading this article on Smashing Magazine which shows how to increase code readability, http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css-styleguides/ but I have listened to Andy Clarke over Lynda.com saying that one should save the white space as it

Re: [WSG] :: CSS Code Formatting ::

2008-05-06 Thread Matthew Pennell
On Tue, May 6, 2008 at 2:49 PM, Amrinder [EMAIL PROTECTED] wrote: Which approach is better? Should we go for code readability as described by Smashing Magazine or follow what Andy said. Why not do both? Use a coding style that suits you, then compress it for live deployment. -- - Matthew

Re: [WSG] :: CSS Code Formatting ::

2008-05-06 Thread Hassan Schroeder
Amrinder wrote: I was reading this article on Smashing Magazine which shows how to increase code readability but I have listened to Andy Clarke ... saying that one should save the white space as it increases the file size. Which approach is better? Should we go for code readability as

Re: [WSG] :: CSS Code Formatting ::

2008-05-06 Thread Ross Bruniges
) A best of both worlds approach ;- - Original Message From: Amrinder [EMAIL PROTECTED] To: WebStandards Discussion Lish wsg@webstandardsgroup.org Sent: Tuesday, 6 May, 2008 2:49:24 PM Subject: [WSG] :: CSS Code Formatting :: Which approach is better? Should we go for code readability

RE: [WSG] :: CSS Code Formatting ::

2008-05-06 Thread Ted Drake
performance tips. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Bruniges Sent: Tuesday, May 06, 2008 4:31 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] :: CSS Code Formatting :: Ultimately you want to use one version during your development process (to ensure