4 ms·
Which is further evidence that CSS still should not be used for layout. http://www.flownet.com/ron/css-rant.html http://www.flownet.com/ron/css-rant.html (How
by lisper 17y ago
Which is further evidence that CSS still should not be used for layout.
http://www.flownet.com/ron/css-rant.html http://www.flownet.com/ron/css-rant.html
(How do you do links in HN comments? Markdown syntax doesn't seem to work.)
- edd 17y agoYou write a url with a http:// http:// and it will turn it in to a link for you. See the formatting document[1] for all the formatting available to you. [1]:http://news.ycombinator.com/formatdoc http://news.ycombinator.com/formatdoc
- lisper 17y agoOh, sorry, that's not what I meant. What I meant was how do I make a link with some text other than the URL. (Apparently it's not possible in HN comments.)
- grinich 17y agoI think the reason is so you know where the link goes before clicking, which prevents rickrolling.
- telemachos 17y agoCan't help but ask: is rickrolling a serious concern around here? If so, a followup question: Really?
- mcav 17y ago1. No. See #2. 2. Yes.
- isleyaardvark 17y agoI prefer this rant: http://meyerweb.com/eric/thoughts/2009/02/17/wanted-layout-system/ http://meyerweb.com/eric/thoughts/2009/02/17/wanted-layout-s... CSS still has the advantage over tables of better separating content from presentation. A big problem with CSS is it's still awkward to deal with layout, so it's somewhat understandable some people just prefer to give up and use tables.
- lisper 17y agoThat is indeed a better rant :-)
- rimantas 17y agoOnly if you do not know CSS or do not know the capabilities of modern browsers. But in this case you should be not writing HTML or CSS at all.
- rimantas 17y agoI guess I should clarify a bit: every modern browser (and in this case IE8 is also counted in) has support for display: table-* property. On the other hand, 2003 was the last year when I did layout using table. I did pixel-perfect cross browser layouts with CSS five years ago, and they had to work in IE5 back then. So yes, I do know what I am talking about and stand by my position.
- fhars 17y agoI did pixel-perfect cross browser layouts with CSS five years ago Using just semantic markup, or with lots of divs within divs that have no justification to be there except to allow styles to be attached to them? "Great pyramids of DIV" based layout is at most marginally better than table based layout.
- rimantas 17y agoYep, mostly semantic markup. Sure then you could not avoid some extra div there and here, but that did not come even near the <td> mess. I've tried to stay away from divitis and classitis as much as possible.
- GHFigs 17y agoAnd your rant is still misinformed, one-sided, and extremely overreaching in its conclusions.
- ubernostrum 17y agoSadly, you probably won't win. People who can recite from memory dozens of combinations of obscure compiler flags to make their code build have collectively decided that CSS is just too hard and inconsistent to learn and work with. (or, in the case of the particular HN username here, people who'd like you to think they know all the differences between multiple Lisp families and multiple implementations within families)
- lisper 17y agoAre you referring to me? I certainly don't want anyone to think that I "know all the differences between multiple Lisp families and multiple implementations within families". Life is much too short to spend a lot of cycles on trivia.