CSS was a missed opportunity, part 2

Internet

There are still a few things I long for classic HTML for. Take this gem from HTML3:

<td align="decimal">

With this one attribute, table cells with decimal values would be aligned like this:

  2.31
  1.1
 32.1
123.45
  2.0

To do the same thing in 2015, what do we need? According to this StackOverflow thread, about 59 lines of JavaScript and CSS. Yay, progress!

CSS was wonderful for (mostly) decoupling presentation from content, and some people are brilliant at designing with it. Neither excuse its woeful inadequacy and poor design choices as a language.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.