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

What browser does it work in natively? I tried this a couple of years ago and a few people claimed that it worked in kiosk mode for Chrome but I couldn't get it to work in any browser.


It looks like it should be available in all major browsers.

https://developer.mozilla.org/en-US/docs/Web/CSS/@page#brows...

That said, I've always used paged.js with its polyfills to fill in other gaps. So maybe there's something I'm unaware of.


@page probably works for some things but when I tried to do page numbers it definitely didn't. I ended up hacking something together (absolute positioning a number every ~700px or whatever so it sat on the same place each page).




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

Search: