Previous Message
Next Message

Unformatted code?

Sent by Gunlaug_Sørtun on 3 January 2005 13:01


Dave Gutteridge wrote:
> But I thought I might also point out, to those who like to see CSS 
> formatted with each style on a different line, that the CSS validator
>  seems to present the CSS that way, regardless of how the author 
> meant it. Since each page of mine has a link to the validator at the 
> bottom, would that not be an acceptable compromise?

I personally would think so, but I'm one of those who like one-liners
since I'm used to read code-instructions the way software does (and get
some negative comments for that at times). It doesn't matter to me how
people formate their code-instructions, and many formating-methods fails
in my software anyway. I often have to reformate it at my end, but I see
no reason to complain.

When dealing with minimal test-pages, and asking for help on those, I
think the best approach is to put human readable styles in the page
head. One may even copy the validator's presentation in order to make it
easy for helpers. One should visit the validator first anyway, so...

Why on earth should I formate my code for human preferences, when
browser-response is the real issue? Well, since I have my preferences, I
guess it is alright that others have theirs. So I do it both ways--
compromise, when I feel it's needed.

As a side note:
Some even complain when HTML Tidy has cleaned up my source-code, because
it doesn't look the way they like it. The validator loves it though, and
the browsers are even happier.
I'm happy with that.

regards
	Georg
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: