4 ms·
i can't help but feel that this kind of hatred is only derived from a lack of understanding of css. The problem of element layout is a relatively simple one. I
by romaniv 16y ago
i can't help but feel that this kind of hatred is only derived from a lack of understanding of css.
The problem of element layout is a relatively simple one. It should not require some kind of in-depth "understanding" and extensive research. That's pretty much the point of the article, and I tend to agree.
CSS does layouts badly, and it should include dedicated tools to deal with the common issues. Right now, it pretty much relies on a bunch of hacks. The problem with those hacks is that they don’t allow for easy modification or code reuse. Nesting one complex layout inside of another is most likely to break both of them.
It always seemed to me that the people who defend CSS as "good enough" simply stick with a couple of mostly-working solutions and never try to design their websites exactly as they see it. That’s where the real pain starts. Something that takes five minutes with tables + css takes hours of reading and experiments with a "pure" layout. The sheer amout of articles about multi-column layousts is tribute to how complex the problem is.
- catshirt 16y ago"The problem of element layout is a relatively simple one. It should not require some kind of in-depth "understanding" and extensive research. That's pretty much the point of the article, and I tend to agree." maybe my comment was ill addressed, then. i agree with this. my sole intention was to express that once you get over it's issues, you can write css just as fluently as anything else. perhaps what confused me is that the article is expressing a sentiment that's been common for nearly a decade.
- lwhi 16y agoI completely agree with you. It's not that hard - but it requires effort. If you continue to believe that CSS is an abomination and can't be tamed - you'll remain unable to use it.
- romaniv 16y agoEverything requires effort to use. Question is, how much. The effort to learn and use some technology should be comparable with the complexity of the problem it solves.
- lwhi 16y agoCSS provides solutions to some quite complicated problems - to think otherwise, is trivialising the work of front-end developers and designers .. and I think that might be part reason for some of the animosity that's often expressed. E.g. it's front-end / it's trivial ;)