Controlling Header and Footer in internet Explorer table border
table border

When you print a page in Internet Explorer 6, the default header and footer contain such information as the URL, date, and page numbers. You can suppress this information when printing by adding or deleting the header and footer codes in the Page Setup dialog box.

table border
table border table border table border
 
Header and Footer Codes table border
table border
Internet Explorer uses codes to designate the various elements of the headers and footers. In order to suppress or print these elements, it is helpful to know what the codes mean. The following table lists the codes and what they represent.

NOTE: Keep in mind that these codes are case sensitive . This is most important with codes for date and time formats, as well as with codes for page number specifications. Capitalizing the wrong letter may give you a different header/footer than you wanted. 

Code Element the code represents
Code Meaning
&w Window title
&u Page address (URL)
&d Date in short format specified by Regional Settings in Control Panel
&D Date in long format specified by Regional Settings in Control Panel
&t Time in the format specified by Regional Settings in Control Panel
&T Time in 24-hour format
&p Current page number
&P Total number of pages
&& A single ampersand (&)
&b The text immediately following these characters as centered
&b&b The text immediately following the first "&b" as centered, and the text following the second "&b" as right-justified
table border
table border table border table border
 
Changing the Headers and Footers table border
table border

To prevent elements of the headers and footers from printing, follow these instructions.

  1. From the File menu, select Page Setup...
    The Page Setup dialog box appears.
    Page Setup dialog box

  2. In the Headers and Footers section, in the Header and Footer text boxes, enter the code that you do not want to appear on your printed page. You can simply delete all the codes and no headers/footers will be displayed.

  3. Click OK

  4. Proceed with printing

table border
table border table border table border