Is there a way to either turn off or customize the header/footer info IE defaults with on printing a webpage? thru, mayhap, CSS? I’m googling on this BTW, just haven’t found anything yet so thought I’d ask youse guys.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
turn off header/footer on printing
Home » Forums » Developers, developers, developers » Web design and development » turn off header/footer on printing
- This topic has 9 replies, 5 voices, and was last updated 19 years, 7 months ago.
AuthorTopicWSsteve_skelton13
AskWoody LoungerNovember 3, 2005 at 4:21 pm #425953Viewing 0 reply threadsAuthorReplies-
WSJezza
AskWoody Lounger -
WSsteve_skelton13
AskWoody LoungerNovember 3, 2005 at 7:46 pm #982934I have something very similar:
#navigation, #footer, .noprint {
display: none;
}That, of course, does not work. I think it is meant to not display a ‘footer’ in the webpage, not the footer IE tacks on. In my googling, I have found a consistent answer to this question: it is not possible to do this (effect IE settings in CSS). You can do something hackish re. registry settings but that is not a good solution IMVHO
Ah well… we will be meeting tomorrow to look at what I have so far and if people want something more professional-quality I will have to go the route of RTF or PDF.
-
WSJezza
AskWoody LoungerNovember 3, 2005 at 8:03 pm #982942Sorry Steve
Misunderstood you slightly there. Do you mean that after publishing a web site, a citizen may click on the page and print it and after doing so have a printed page without the page title in the header and the URL in the footer?
Or are you going to print it on behalf of the client….if so why not change the Page set up and delete the details in the Header and footer text boxes?
-
WSsteve_skelton13
AskWoody LoungerNovember 3, 2005 at 8:44 pm #982950no i want the user to have a nice looking printer friendly webpage to print. I have that done with the exception of IE’s draconian decision that all users must want the standard header/footer info.
Apparently Bill Gates doesn’t want us programmers to question his decrees in this case…
Makes me wonder if the IE header/footer settings aren’t some kind of hook in the OS to do things like, i dunno, make Macs crash
-
WSLeif
AskWoody LoungerNovember 3, 2005 at 8:58 pm #982956>> Apparently Bill Gates doesn’t want us programmers to question his decrees in this case…
Could it not be argued that it is you who is trying to over-ride the viewer’s choice in the matter? If I have set the page layout the way I want it and I want the footer printed, who are you to say I shouldn’t have it? (Similarly, I find web pages that force full-screen mode irritating in the extreme, and usually close them immediately.)
With all the other limitations found in IE’s page layout such as margins etc., I think you would find you have far more control over what is printed by going the .pdf route.
-
WSsteve_skelton13
AskWoody LoungerNovember 3, 2005 at 9:13 pm #982960Of course I am trying to set a formatting choice! That’s the whole point.
And, FWIW, if I was able to do that, I would definately put in the necessary code to re-set the header/footer info that was previously in place.
This issue is a little irritating to me because, frankly, there’s a lot of neat things you can do with the header/footer code and it would be nice to manipulate it programmatically. As it is, it’s not the kind of thing most people will change as it’s weird looking:
&w&bPage &p of &P <– this is the code for the header stuff in IE. I don't expect Aunt Gladys to touch something like that… So, I am not too sure that most people even manage to customize that kind of thing.
As for the PDF option, hmm well…yuck. I have something called ActivePDF that does work fairly well, but it isn't easy to handle arbitrarily long text box entries, AFAIK. I may try and do an output to RTF before wandering back into on-the-fly PDF production, unless They want pdf. Well, we'll see.
-
WSMarkJ
AskWoody LoungerNovember 4, 2005 at 11:48 am #983061It’s interesting that many people want the web browser to be all things with HTML – a user interface host for applications, reporting interface, and even a web browser. Thankfully, the application host and web browsing does work well with HTML (and scripting), but reporting is still something that needs a separate format (at least under today’s HTML schema).
I agree with Leif on this – header and footer in the browser are there for printing web pages; not to be used as a custom header/footer for reports.
Your best bet will be to use some kind of reporting tool. One of my favorites is ActiveReports.NET. It’s not cheap, but VERY powerful. There are certainly a host of other tools out there – including Microsoft’s own Reporting Services.
Hope this helps…
-
WSsteve_skelton13
AskWoody LoungerNovember 4, 2005 at 2:45 pm #983112Oh yeah i keep forgetting about MS Reporting Services. I’ll have to surf over and get it…
As for the issue of expectations re. HTML and printing, if MS doesn’t provide a method for changing the IE settings, so be it. I happen to think it would real nice to be able to adjust the header/footer content; margins and page break settings are accessible in CSS so it doesn’t seem unreasonable to have a hook into the header/footer settings — especially if you can do interesting things with the options.
In My Ideal World (that is, what I’d like, not what is *there*) if you want to print something fairly simple (ie no graphs/charts, no footnotes, headers, no extensive handling of page breaks, etc.). HTML should be perfectly adequate, and it would be…if I could turn off the header and footer settings! Ah well, so it goes.
-
DaveA
AskWoody_MVPNovember 4, 2005 at 4:47 pm #983133Here is another point, from a users view.
I do NOT like any webmaster messing with my machine and or settings. They seem to forget to reset things back the way the user had them and in most cases it is NOT the IE default.
There are several websites I refuse to return to for this reason. However I do let the webmaster know my thoughts.
DaveA I am so far behind, I think I am First
Genealogy....confusing the dead and annoying the living
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
I set up passkeys for my Microsoft account
by
Lance Whitney
5 minutes ago -
AI is for everyone
by
Peter Deegan
2 hours, 26 minutes ago -
Terabyte update 2025
by
Will Fastie
3 hours, 9 minutes ago -
Migrating from Windows 10 to Windows 11
by
Susan Bradley
2 hours, 15 minutes ago -
Lost sound after the upgrade to 24H2?
by
Susan Bradley
21 hours, 3 minutes ago -
How to move 10GB of data in C:\ProgramData\Package Cache ?
by
Alex5723
36 minutes ago -
Plugged in 24-7
by
CWBillow
7 hours ago -
Netflix, Apple, BofA websites hijacked with fake help-desk numbers
by
Nibbled To Death By Ducks
1 day, 10 hours ago -
Have Copilot there but not taking over the screen in Word
by
CWBillow
1 day, 7 hours ago -
Windows 11 blocks Chrome 137.0.7151.68, 137.0.7151.69
by
Alex5723
3 days, 1 hour ago -
Are Macs immune?
by
Susan Bradley
23 hours, 23 minutes ago -
HP Envy and the Function keys
by
CWBillow
2 days, 9 hours ago -
Microsoft : Removal of unwanted drivers from Windows Update
by
Alex5723
2 hours, 21 minutes ago -
MacOS 26 beta 1 dropped support for Firewire 400/800
by
Alex5723
3 days, 12 hours ago -
Unable to update to version 22h2
by
04om
21 hours, 6 minutes ago -
Windows 11 Insider Preview Build 26100.4482 (24H2) released to Release Preview
by
joep517
3 days, 20 hours ago -
Windows 11 Insider Preview build 27881 released to Canary
by
joep517
3 days, 20 hours ago -
Very Quarrelsome Taskbar!
by
CWBillow
3 days, 6 hours ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
4 days, 9 hours ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
3 days, 22 hours ago -
Is your battery draining?
by
Susan Bradley
3 hours, 59 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
21 hours, 44 minutes ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
4 days, 13 hours ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
15 hours, 29 minutes ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
3 days, 21 hours ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
3 days, 14 hours ago -
National scam day
by
Susan Bradley
2 days, 20 hours ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
3 days, 17 hours ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
5 days, 14 hours ago -
Tools to support internet discussions
by
Kathy Stevens
4 days, 2 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.