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

I have a handy little mnemonic I use to keep track of the order of X and Y: the standard "margin: 0 auto" for horizontal centering.

0 vertical margin when centering horizontally, so Y must be the first axis.



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

Search: