Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Microsoft made box-model: border-box

No. Microsoft had a non-standard box model which was an utter pain in the ass, regardless of their box model being more sensible than everybody else's in theory[0] (and ultimately standardised as an option circa 2010) having to code for a single standard documented box-model is way the fuck easier than coding for two different box models.

Also it's box-sizing not box-model.

[0] because in practice MSIE's layout engine was a buggy pile of shit



Don't forget that Netscape originally used the same box model as IE. They were the one who changed the way boxes worked when they released NN6 (the one that couldn't correctly render Netscape.com when it came out because of that silly new "standard" box model).

The sane way of doing boxes pre-dated the "standard", which in hindsight appears as though it was specifically crafted to spite Microsoft.

It was a silly time to be a developer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: