Live data from Hacker News

Show HN: Gutenberg – Modern CSS framework to print the web correctly

github.com

1–10 of 62 posts

Re: Show HN: Gutenberg – Modern CSS framework to print the web correctly

#7
post #4

Wow, today I learned (via this) about: page-break-before: page-break-after: Did not know these were in CSS3 ! It's always worth poking around in others peoples code...

I don't think this is CSS3, it has been arround for ages ( you will be using this when convert html pages to pdf also ;) )

Re: Show HN: Gutenberg – Modern CSS framework to print the web correctly

#8
post #4

Wow, today I learned (via this) about: page-break-before: page-break-after: Did not know these were in CSS3 ! It's always worth poking around in others peoples code...

The problem with those, the last time i checked, was that most html to pdf solutions don't support them. The only one I could find was Prince ( https://www.princexml.com/ ) , which is commercial and rather pricey.

Re: Show HN: Gutenberg – Modern CSS framework to print the web correctly

#9
post #4

Wow, today I learned (via this) about: page-break-before: page-break-after: Did not know these were in CSS3 ! It's always worth poking around in others peoples code...

I don't think this is CSS3, it has been arround for ages ( you will be using this when convert html pages to pdf also ;) )

IE 4.0 supports it...

Re: Show HN: Gutenberg – Modern CSS framework to print the web correctly

#10
post #4

Wow, today I learned (via this) about: page-break-before: page-break-after: Did not know these were in CSS3 ! It's always worth poking around in others peoples code...

The problem with those, the last time i checked, was that most html to pdf solutions don't support them. The only one I could find was Prince ( https://www.princexml.com/ ) , which is commercial and rather pricey.

What about Chrome? File -> Print -> Save as PDF. Works fine with these print properties as far as I can tell.
Post reply on HN