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

    body {    
      max-width: 600px;
      margin: 0 auto;
    }
Improves readability by an order of magnitude in my opinion.


If you want to go for cross-platform compatibility, you'll specify your dimensions in ems. Especially line lengths.


I went with:

    body { 
      -webkit-column-count: 3;
      -moz-column-count: 3;
      column-count: 3; 
    }




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

Search: