Link to home
Create AccountLog in
CSS

CSS

--

Questions

--

Followers

Top Experts

Avatar of yuching
yuching

No scriptX, remove header and footer
I wanna remove the header and footer when the user print a page using browser. But i dont wanna scriptX and activeX control, any idea to solve this problem ? I search through this web, most of the idea is using scriptX.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of jaysolomonjaysolomon

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of seanpowellseanpowell🇨🇦

The browser has complete control over what get's printed, unfortunately you have no control over the browser.

1. If it is something you "do not want" your users to see, then you must create a PDF file.
2. If it is something your "users would prefer not to see", then explain that the information can be removed by them prior to printing by selecting File > Page Setup in whatever browser they're using and removing, or setting to blank, the header/footer information.

Avatar of yuchingyuching

ASKER

I agree wif jAy, changing a client registry isnt a good programming manner. But How i gonna do it with PDF? any body please giv an idea of tis

I do not use PDF much, but you will have to create a pdf file. I think you can go to www.acrobat.com and create so many for free. If i am not mistaken, you go there and upload your file and it converts it to pdf format.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

CSS

CSS

--

Questions

--

Followers

Top Experts

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.