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

> Just look at this: https://stackoverflow.com/a/19719427 , you can “tune” collapsing margins by adjusting overflow, float or position. Yeah! Imagine adjusting your seat by pressing brakes or turning radio off.

The seeming complexity here is because people refuse to learn the box model, so they learn all sorts of incantations and guess at what they need to do: https://developer.mozilla.org/en-US/docs/Learn_web_developme...



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

Search: