pstein Posted December 11, 2021 Share Posted December 11, 2021 (edited) When users print a webpage occasionally some additionally CSS instructions are retrieved from some CSS files in a "@media print" or @page sections. How can tell a web page to ignore everything in such sections when I print it? Only web page stuff from screen should be relevant. Is there something like a @media print { none !important; } clause? Edited December 11, 2021 by pstein Link to comment Share on other sites More sharing options...
Ingolme Posted December 12, 2021 Share Posted December 12, 2021 There doesn't seem to be a way to avoid it. I found a discussion about it on StackExchange: https://superuser.com/questions/456700/how-do-i-print-with-the-screen-stylesheet Link to comment Share on other sites More sharing options...
dsonesuk Posted December 12, 2021 Share Posted December 12, 2021 Can't you create your own print css and @import screen css. If you can use identifier for print css you can add attribute disable manually or with js. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now