Print CSS & Exposed link, page etc information on FireFox

Greetings,
I hope this is the right place to post this as i am guessing there is something we can do with the print related css.

I have a print css which is working pretty well on IE, I get prints (on PDF) excluding the header, footer or other unwanted parts and it only prints the div which i wanted. Great on IE. However when i take the print through mozilla FF (as PDF) there are few information get exposed like -
file name (top left)
URL (top right)
Page of Page (bottom left)
date (bottom right)
otherwise it prints the page as expected
[but the above information is not exposed when i take prints from IE ]

- what is it needs to be done so that while taking the print through Mozilla FF the above mentioned information are not exposed.

I have gone through this article however not able to get the point which will fix my issue.

sorry, I do not have a live url to show :frowning: as it is still at local server and not ready to go live.

Hope somebody here can provide some information.

Thanks.

Thanks Vineet & RyanReese.

Ah, that’s really a bad news for me.
so, what I understand is by default IE hides header/footer of the document to be printed and FF not.

Is there anyway to control users “FF” settings and set the settings so that header/footer become invisible (JavaScript or any plug in/ app).

I’m going to offer some stationary designs which is supposed to be covering edge to edge of a page. Defiantely header/footer information would make the stationary look ugly.

Any suggestion/ solution?

Thanks
Radiant_Luv

Not so. I just wiped my system with a fresh install of XP and upgraded MSIE6 to MSIE7. The default page setup has both the header and footer defaulted to &w&bPage &p of &P and &u&b&d, respectively. Perhaps you cleared them a while back and don’t remember.

Javascript is limited by the browser for security reasons, thus the author of the page can’t control the browser, thus you are SOL :slight_smile:

the content or url that you want to hide cannot be hidden with css. you have to manually set your options for header and footer in page setup of mozilla.

vineet

As vineet said, CSS does not control this. Each browser has their own default settings and FF is set to show them

Go to File>Page setup>Margins & Header/Footer, it will have the options to turn them off

Different browsers do not necessarily have the same defaults plus you can change those defaults to turn on or off the header and footer lines that browsers can add around the page content. It is all a matter of the personal preference of the person using the browser. If you want it off in all browsers then turn it off in all browsers. You can’t force other people to do that though as there are people who prefer to ensure that it is turned on so they can see where the page came from.

If you want to generate a PDF from web data without the person having the ability to turn on their browser’s header and footer then you need to use server side processing to create a PDF instead of HTML. Only then do you have full control of the appearance of the printed page.

I’m not sure if this could be appropriate reason. As I have tested prints on more than one pc (I have testing on several other systems on our domain). IE prints well without header or footer and FF exposed these.