Here's a nicely disgust-filled
article about various problems with CSS. He seems bewildered by how
something so bad could have been invented, but it's really very simple. The
people who invented and then standardized CSS had never used it.
After all, they invented it before any web browser supported it.

The best languages are invented by the people who are using them to do real
work, while they use them to do real work.