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
-
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
6 hours, 13 minutes ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
6 hours, 52 minutes ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
7 hours, 58 minutes ago -
Disengage Bitlocker
by
CWBillow
9 hours, 22 minutes ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
9 hours, 58 minutes ago -
New Win 11 Pro Geekom Setup questions
by
Deo
11 hours, 42 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
17 hours, 13 minutes ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
17 hours, 15 minutes ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
21 hours, 10 minutes ago -
New PC transfer program recommendations?
by
DaveBoston
25 minutes ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
1 day, 1 hour ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
1 day, 1 hour ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
13 hours, 35 minutes ago -
The end of Windows 10 is approaching, consider Linux and LibreOffice
by
Alex5723
10 hours, 57 minutes ago -
Extended Windows Built-in Disk Cleanup Utility
by
bbearren
2 hours, 32 minutes ago -
Win 11 24H2 June 2025 Update breaks WIFI
by
dportenlanger
1 day, 20 hours ago -
Update from WinPro 10 v. 1511 on T460p?
by
CatoRenasci
18 hours, 8 minutes ago -
System Restore and Updates Paused
by
veteran
1 day, 22 hours ago -
Windows 10/11 clock app
by
Kathy Stevens
1 day, 9 hours ago -
Turn off right-click draw
by
Charles Billow
2 days, 1 hour ago -
Introducing ChromeOS M137 to The Stable Channel
by
Alex5723
2 days, 5 hours ago -
Brian Wilson (The Beach Boys) R.I.P
by
Alex5723
23 hours, 23 minutes ago -
Master patch listing for June 10, 2025
by
Susan Bradley
2 days, 7 hours ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
1 day, 10 hours ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
2 days, 13 hours ago -
KB5060842 Issue (Minor)
by
AC641
1 day, 1 hour ago -
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
2 days, 20 hours ago -
24H2 may not be offered June updates
by
Susan Bradley
1 day, 12 hours ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
3 days, 8 hours ago -
June 2025 updates are out
by
Susan Bradley
14 hours, 14 minutes 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.