Re: Javascript Best Practices Document v1.0
Thomas 'PointedEars' Lahn wrote:[color=blue][color=green]
>> I still use tables for layout. Why? Because it works consistently
>> across browsers, it's much easier to accomplish nice layouts that
>> equivalent CSS layout, it degrades more consistently than CSS, and
>> it's easier. I don't care if it's "semantical ly" wrong. It works.
>> Better than the alternatives in most cases.[/color]
> No, it certainly does not, and to state such can only be based on
> shallow or no insight, and bad examples of the otherwise very viable
> alternatives to layout tables.[/color]
I disagree.
(And for the record, I've been doing this for 12 years, and I'm quite
informed on the topic.)
A table-based layout renders more consistently across browsers than a
CSS-based layout, in my experience. Except for very basic layouts. With a
table-based layout, I can have my content look mostly the same even in very
old browsers. With CSS-based layout, older browsers see either a very plain
or a broken layout.
I'm very familiar with (although, admittedly not an expert in) CSS-based
designs and layouts. I use CSS extensively myself, and I often use it for
positioning and layout. But some things are very difficult to do
consistently with pure CSS. In many cases, using a CSS approach is _much_
more work than a simple table layout which will work consistently in every
browser you can test in. The reasons for dumping tables in favor of pure CSS
are often unconvincing to me. As soon as a simple 3-column layout becomes
easier and more consistent to do in CSS than with tables, let me know. Until
then, I'll probably stick with a big table for the overall layout and CSS
for the rest. That's just MO.
I love the concept of CSS and CSS-based layouts. Unfortunately, it just
hasn't evolved fully yet. Abusing CSS for page layout is just as bad as
abusing tables for it, IMO. CSS is good for positioning and styling. It's
not so good for layout. And browser support (or lack thereof) certainly
makes it more difficult to use it for layout.
[color=blue]
> You (and, alas, many others) seem to still perceive the Internet
> including the Web as a screen-only medium for non-handicapped people.[/color]
I don't perceive things that way at all. I realize the reality of how the
web is accessed and who is using it.
In most cases, I agree that web authors need to consider all these factors.
In some cases, it doesn't matter. And in some cases, it should be the screen
readers and other accessibility devices that should be improved to cater to
the current state of the web.
--
Matt Kruse
Thomas 'PointedEars' Lahn wrote:[color=blue][color=green]
>> I still use tables for layout. Why? Because it works consistently
>> across browsers, it's much easier to accomplish nice layouts that
>> equivalent CSS layout, it degrades more consistently than CSS, and
>> it's easier. I don't care if it's "semantical ly" wrong. It works.
>> Better than the alternatives in most cases.[/color]
> No, it certainly does not, and to state such can only be based on
> shallow or no insight, and bad examples of the otherwise very viable
> alternatives to layout tables.[/color]
I disagree.
(And for the record, I've been doing this for 12 years, and I'm quite
informed on the topic.)
A table-based layout renders more consistently across browsers than a
CSS-based layout, in my experience. Except for very basic layouts. With a
table-based layout, I can have my content look mostly the same even in very
old browsers. With CSS-based layout, older browsers see either a very plain
or a broken layout.
I'm very familiar with (although, admittedly not an expert in) CSS-based
designs and layouts. I use CSS extensively myself, and I often use it for
positioning and layout. But some things are very difficult to do
consistently with pure CSS. In many cases, using a CSS approach is _much_
more work than a simple table layout which will work consistently in every
browser you can test in. The reasons for dumping tables in favor of pure CSS
are often unconvincing to me. As soon as a simple 3-column layout becomes
easier and more consistent to do in CSS than with tables, let me know. Until
then, I'll probably stick with a big table for the overall layout and CSS
for the rest. That's just MO.
I love the concept of CSS and CSS-based layouts. Unfortunately, it just
hasn't evolved fully yet. Abusing CSS for page layout is just as bad as
abusing tables for it, IMO. CSS is good for positioning and styling. It's
not so good for layout. And browser support (or lack thereof) certainly
makes it more difficult to use it for layout.
[color=blue]
> You (and, alas, many others) seem to still perceive the Internet
> including the Web as a screen-only medium for non-handicapped people.[/color]
I don't perceive things that way at all. I realize the reality of how the
web is accessed and who is using it.
In most cases, I agree that web authors need to consider all these factors.
In some cases, it doesn't matter. And in some cases, it should be the screen
readers and other accessibility devices that should be improved to cater to
the current state of the web.
--
Matt Kruse
Comment