A Decade Plus Later and HTML/CSS is Still Schizophrenic Crapware


After more than a decade of web development, I'm of the firm belief that HTML and CSS are fundamentally flawed dog shit and in desperate need of a ground-up replacement. And no, HTML5 does nothing to change my mind.

There are many, many reasons for this and I won't attempt to build a full case right now, but here's the latest bit of HTML "fun" I've hit:

html-is-shit.html:

<!DOCTYPE html> <html> <body> <div style="width: 90%"> <table> <tr> <td>Short</td> <td> A little bit of text. Mobile browsers use small font. </td> </tr> <tr> <td>Long</td> <td> Lots of text. Mobile browsers use big font. Lots of text. Mobile browsers use big font. Lots of text. Mobile browsers use big font. Lots of text. Mobile browsers use big font. Lots of text. Mobile browsers use big font. Lots of text. Mobile browsers use big font. </td> </tr> </table> </div> </body> </html>

Notice there is nothing to change font sizes. And yet, when viewed in various popular mobile browsers (such as the Android versions of Firefox and Chrome) not only is the basic font size absurdly small - much smaller than the browser's normal default, but ONE of the cells uses a completely different font size than the rest!:


(click to enlarge)

And no, setting [-whatever]-text-size-adjust: 100% doesn't fix this issue, nor does explicitly setting all font sizes to 1em.

Safari on iPhone, as is typical for Apple, also has it's own...uhh, "creative" interpretation of basic sense: The different columns use different font sizes.

Seriously, what the fuck?! And people actually want to write their applications in HTML?

Leave a comment

Captcha