I've followed the steps in this article to arrange my page for printing. However, only a couple of things seem to actually work. I can't get selectors such as @top-center
to work at all in Chrome, Firefox or Opera, even though caniuse says it should work in most major browsers.
Has this been quietly abandoned or deprecated?
I'm pretty sure it's correct, but I'll post my CSS here for reference anyway:
@page {
@bottom-right {
content: "...";
}
}
The content doesn't show up anywhere.
The WD that is linked to by the article is from 2013. The CSSWG doesn't tend to keep their WDs at w3.org/TR up to date despite implementations rapidly updating themselves to match the editor's drafts (ED). They don't even publish yearly revisions. This is true not only of css-page-3, but also selectors-4, and prior to its rewrite css-content was left abandoned for over 10 years.
EDs tend to be updated regularly, sometimes even nightly. For example, the css-page-3 ED was just updated a week ago, so while the WD is collecting dust, the module itself hasn't been abandoned and is in fact in active development.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With