News for hackers. Stuff that matters.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li... by garethadams on Thursday November 14, 2013 @03:32AM (#6731285)
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li... by IgorPartola on Thursday November 14, 2013 @05:10AM (#6731561)
Sure, table layout is how you'd have to do this. To me this shows that half of HTML/CSS happened because of legacy issues and not with deliberate thought. The semantic web is mostly dead other than to help Google parse out their own ads while CSS remains a mess full of hacks like this.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li... by garethadams on Thursday November 14, 2013 @07:52PM (#6736991)
There was never anything wrong with the table layout algorithm, what sucked was that there wasn't any way to apply it without typing your HTML rigidly to that structure. The situation still isn't perfect and flexbox is a strange alternative that I'm not quite happy with yet, but you can't deny that the HTML in my example represents the content you described with almost no extra layout fluff.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li... by IgorPartola on Friday November 15, 2013 @06:42AM (#6738900)
Fair enough. Perhaps this wasn't the best example.