Hacker News new | ask | show | jobs
by Meai 5314 days ago
That's his point..if someone can't write and position two characters of text and have it be cross platform easily, the HTML platform itself has failed.

I had a similar thought like the author recently. Flash could have been awesome with a smaller runtime, 3D sooner, progressive rendering of content (text and images getting loaded in like in the browser instead of loading bars) Who would still use HTML? There would be no upside at all, Flash has always had better tools.

4 comments

Despite being one of the first true ubiquitous computing platforms, becoming the main format of communication for the planet, HTML(s/the web) failed because someone couldnt read a CSS tutorial?

The authors example is terrible, that is an easy layout to do crossbrowser, HTML and CSS do have massive deficiencies in easily creating layouts, but so do most GUI toolkits, and compared to the other factors involved in the success of the web, fiddling around with css a little longer is a price well worth paying, for the majority at least

I agree, I have no idea why he can't center content horizontally unless he's making a mistake.

However, those deficiencies you mentioned are only "well worth it" because it's our only option. It's this complacent attitude that helped generate a need for a plug-in. HTML and CSS are still tedious to use and often times requires hacks to work in specific browsers. Why? We shouldn't need a mess of frameworks on top of frameworks to fix these "massive deficiencies", it's simply not good enough.

I deal with HTML and CSS everyday so I'm probably biased but for me all these cross-browser compatibility problems related to rendering stuff are grossly exaggerated. Aside from IE6 (which, I believe, should not be supported anymore) supporting everything else is relatively easy. IE7 usually needs a couple of "zoom: 100%" here and there; IE8 handles CSS2 quite nicely (it passed Acid 2 after all); IE9 is on the same level as Firefox 3.6 - which is quite great. CSS3 stuff is a bit tricky sometimes, especially if you're going for a pixel-perfect cross-browser compatibility. However, it's hard to expect that older browsers would support technology from the future. Flash 8 don't support Flash 11 features either. Still, in browsers the new stuff could be quite easily 'emulated' with filters, JS or ready-made solutions (PIE CSS), etc.

Latest Firefox, Opera, Safari, Chrome and IE10 - the bunch that supports both HTML5 and CSS3 from the start - are totally painless. That's the "HTML5 nirvana", IMHO. To be honest, breaking the compatibility between these the way the author did is quite an achievement - I really would like to see his code. Probably a quick and simple CSS Reset would solve these issues. Author's mistake is more probable though.

Who would still use HTML? There would be no upside at all, Flash has always had better tools.

No upside at all? Open standards, semantic code, SEO optimization, separation of presentation and content, ability to look into the source code, ability to alter the content and/or visuals by user, better printing support, userscripts, ad blocking,... Just to mention a few.

Anyway, no matter how good Flash could have become it would always be only a plug-in. A third-party injection, not an integral part of the web - and as such it always was doomed in the long term perspective. Relaying on plugins is like - excuse an over-the-top metaphor - having nitro system in a family car. It's exciting for a while, but nowhere near an experience of having a real supercar. HTML5, in it's current state, is not yet a Ferrari but it has way bigger chance to become one than Flash (or Silverlight, or anything) ever had.

Author's big numbers display, correct in IE 6.0+ and anything modern.

Old IE fixes a slight dirty, BUT can't get more basic HTML / CSS then this.

http://pastebin.com/TvPnFzrj

(Train delayed, Killing Time, Rainbows, etc.)

HTH Author.

He has a great point if it's legit. Without source we have no idea what's going on or if he even has valid HTML to begin with.

I have no problems centering content horizontally cross browser (which he complains about).