Hacker News new | past | comments | ask | show | jobs | submit login

Please don't do this with max-width it makes printing a huge mess, I regularly have to edit max-width on sites that set it so I don't have to print double or triple the number of pages, at least set max-width to be a relative unit for print.



Max-width is the correct setting for the desktop, where windows are resized to enable proper reflow. Printing web pages should be quite rare, no?


either way:

    @media print {
      …
    }


How often do you print websites?


seems like this could be solved in the OP with something like "@media screen".




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

Search: