お聞きしたいのですが、Webサイトをプリントする場合、デフォルトのプリント設定だと背景が表示されませんが、ブラウザのクロムの場合
cssの設定で
@media print {
body {
-webkit-print-color-adjust: exact;
}
}
を記述するとプリントのオプション設定をしなくても背景が表示されるのですが、
他のブラウザでも同様の設定を行うcssやjsなどの記述はありませんでしょうか?
(phpとかサーバーサイドでの設定方法でも構いません)
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
21