| ▲ | swiftcoder 7 hours ago |
| Hilariously, when I hit CMD-P on this specific website, I end up with 4x pages: the first is 80% blank, the 2nd page is fairly nice, the 3rd page contains just the CSS code sample as a thin strip on the left-hand side, and the last page is again mostly blank space... I also attempted something like this, but only to format my resume[1], since many employers require it to be submitted as a PDF [1]: https://www.trist.am/resume/ |
|
| ▲ | jmaw 2 hours ago | parent | next [-] |
| I see the same thing. It looks like the height of the "My accidental pnmp forkbomb" screenshot is causing it to jump to the second page |
| |
| ▲ | swiftcoder 2 hours ago | parent [-] | | One of the lovely things about html/css as print medium, is that interpretation of page break seems to vary between browsers, and while you can use CSS to prevent a particular page break, you can't use CSS to force one inside an element like an img tag |
|
|
| ▲ | PMunch 6 hours ago | parent | prev [-] |
| Which browser do you use? Unsurprisingly supporting media print queries hasn't been top priority for some browsers. It makes total sense, but when you suddenly need it for something it does suck. |
| |
| ▲ | swiftcoder 5 hours ago | parent [-] | | That was on Safari, but I just tried on Brave (Chromium-based), and the result is pretty similar | | |
| ▲ | ddawson 5 hours ago | parent [-] | | I'm looking on Chrome for Windows and it looks just like the web view. I am with those disagreeing with the original proposal that websites should be printable. There are so many things that go into showing you a web page and so many things that go into preparing that page for print. Even something basic like this isn't consistent. | | |
| ▲ | swiftcoder 2 hours ago | parent [-] | | Unfortunately I just tried Chrome for Mac, and it too insists on inserting a spurious page-break to keep the giant screenshot on the 2nd page. I couldn't find a CSS incantation to prevent this. |
|
|
|