Live data from Hacker News

Why CSS Should Be Used for Layout

newmediacampaigns.com

1–10 of 58 posts

Re: Why CSS Should Be Used for Layout

#2
This whole argument seems to be spiraling out of control, and I doubt a single person will change their mind either way.

Things not to bother arguing about in public (since no one will change their mind):

Religion

Politics

CSS vs Tables for layout...?

Re: Why CSS Should Be Used for Layout

#3
Context-sensitive Presentation, Better Accessibility, and the most complex designs are easier with CSS. These seem to fall under the YAGNI rule. In particular, if it took me a couple of hours to build using tables versus a couple of weeks using CSS (see the Ron Garret post), the above listed benefits would be cold comfort for the wasted time.

The first rule should be to get something working quickly, even if it's suboptimal. And the jury seems to still be out on the suboptimal part.

Re: Why CSS Should Be Used for Layout

#4

Context-sensitive Presentation, Better Accessibility, and the most complex designs are easier with CSS. These seem to fall under the YAGNI rule. In particular, if it took me a couple of hours to build using tables versus a couple of weeks using CSS (see the Ron Garret post), the above listed benefits would be cold comfort for the wasted time. The first rule should be to get something working quickly, even if it's sub…

The jury is not still out on whether tables are suboptimal. They're easier, that's their only advantage.

The rule of getting something working quickly should not increase the cost of doing it right in the future.

Re: Why CSS Should Be Used for Layout

#5
post #2

This whole argument seems to be spiraling out of control, and I doubt a single person will change their mind either way. Things not to bother arguing about in public (since no one will change their mind): Religion Politics CSS vs Tables for layout...?

True, it hasn't changed my mind away from being pro-CSS. It has however, made me realize how much of a learning curve CSS must be for many programmers compared to tables, much more than I thought, so I'm less likely to debate the finer points with coders that use tables and just stick to enjoying the benefits of stylesheets for myself.

Re: Why CSS Should Be Used for Layout

#6

Context-sensitive Presentation, Better Accessibility, and the most complex designs are easier with CSS. These seem to fall under the YAGNI rule. In particular, if it took me a couple of hours to build using tables versus a couple of weeks using CSS (see the Ron Garret post), the above listed benefits would be cold comfort for the wasted time. The first rule should be to get something working quickly, even if it's sub…

The amount of time it takes, and how suboptimal the result is depends on the design. There is no reason you can't create a decent design in a few hours using either.

Re: Why CSS Should Be Used for Layout

#8
post #5
post #2

This whole argument seems to be spiraling out of control, and I doubt a single person will change their mind either way. Things not to bother arguing about in public (since no one will change their mind): Religion Politics CSS vs Tables for layout...?

True, it hasn't changed my mind away from being pro-CSS. It has however, made me realize how much of a learning curve CSS must be for many programmers compared to tables, much more than I thought, so I'm less likely to debate the finer points with coders that use tables and just stick to enjoying the benefits of stylesheets for myself.

It's not about the learning curve. In my view, it's about the productivity of competent web developers and designers. Referring to the learning curve is just repeating the disputed claim that people who deny the suitability of CSS for layout are just invariably incompetent. That's an excuse.

And I don't agree with ejs. I think it's an important debate because CSS layout problems are a major reason why so many people use Flash. My own opinion about this matter is not cast in stone. I may change my mind based on good examples of CSS layouts that don't break and actually make maintainance easier.

Re: Why CSS Should Be Used for Layout

#9
post #5
post #2

This whole argument seems to be spiraling out of control, and I doubt a single person will change their mind either way. Things not to bother arguing about in public (since no one will change their mind): Religion Politics CSS vs Tables for layout...?

True, it hasn't changed my mind away from being pro-CSS. It has however, made me realize how much of a learning curve CSS must be for many programmers compared to tables, much more than I thought, so I'm less likely to debate the finer points with coders that use tables and just stick to enjoying the benefits of stylesheets for myself.

Great! I think the internets would be a better place if more people embraced "be quiet and enjoy it for myself". If other people are missing out, oh well. That's a competitive advantage.

It seems like people on both sides of this debate are seeking validation rather than trying to help people.

Re: Why CSS Should Be Used for Layout

#10

Context-sensitive Presentation, Better Accessibility, and the most complex designs are easier with CSS. These seem to fall under the YAGNI rule. In particular, if it took me a couple of hours to build using tables versus a couple of weeks using CSS (see the Ron Garret post), the above listed benefits would be cold comfort for the wasted time. The first rule should be to get something working quickly, even if it's sub…

By all mean, do what you feel more comfortable with, but working with CSS is not necessarily slower than using table layouts. You just need to get over the learning curve.

[edited]

Post reply on HN