开发者

how to get rid of the header and footer when printing from a web browser?

I am using the function on window print to print from within my web application.

`<body onload=""window.print();"">开发者_StackOverflow;

But on the header i get the date 07/10/2011and page title and footer i get the url of the page. How do i remove these? and i get 1/1 or 1/2 2/2 etc

I am redirecting users to a page and generating the page dynamically and just want what is being generated to print.

I just want the content so i can put it on headed paper,

with out the extras?


Check your browser settings. JavaScript does not control this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜