On 10/7/05, Al Sparber <[EMAIL PROTECTED]> wrote:
> From: "Michael Landis" <[EMAIL PROTECTED]>
>
> I think we're getting very close to a debate on personal beliefs and
> preferences (the importance of browser support versus the importance
> of "clean" code). Perhaps it would suffice to add a note in the
> article mentioning that, using your techniques, supporting 4- browsers
> comes at the price of serving stylesheets via JavaScript, listing the
> pros (a simple support method that doesn't bleed 4.x styles into good
> browsers) and the cons (using the behavior layer -- script -- to
> provide the presentation) and letting the reader decide?
>
> ---------------------------------------------------
>
> Off-topic, yes - but I hate so to let misinformation spread for the
> sake of local customs. Please look very carefully at what that little
> JavaScript is doing and if you still don't understand that it's a
> totally failsafe method, feel free to contact me offlist and I'll be
> happy to explain it :-)

I agree that it's failsafe, since Netscape 4 cannot do styling without
JavaSript enabled, but my assumption is that Chris is looking at this
from a code-writing point of view, versus a browser point of view.

My point is that everyone's point of view in this discussion is right,
from their perspective. I agree with you that Netscape 4's embedding
of the styling in the behavior layer makes the
behavior-versus-presentation argument moot for it, and I also agree
that mixing the two layers should be done sparingly, if at all.

In this case, it might serve to identify those points of view and the
reasons behind them, and let the reader decide whose point of view
more closely aligns with their own. Someone who values code separation
more than NS4 browser support may very well side with Chris, while
someone who is willing to have a smidgen of code mixing to support NS4
will likely side with you and I. But in the end, I'd leave the
decision to the developer who is reading the article in hopes of
finding a solution that fits their needs and philosphy.

Michael
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to