Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repeating footers when printing

Status
Not open for further replies.

sfenx

Programmer
Feb 23, 2001
81
BE
I've created a page with different classes using CSS. Is it possible to repeat the footer on each page just when printing (without including the header; I don't know in advance how long my pages will be)? I'm using NN4.7 and IE5.

Code:
<BODY>
<DIV class=&quot;header&quot;>Header</div>
<DIV class=&quot;contents&quot;>Contents</div>
<DIV class=&quot;footer&quot;>Footer</div>
</body>

.footer {position: absolute; left: 1.5cm; right: 1.5cm; top: 25cm; bottom: 0cm; border: thin solid black; z-index=2;}

.contents {position: absolute; left: 1.6cm; right: 1.5cm; top: 3.5cm; bottom: 5cm; text-align: justify; color: blue; font-family: tahoma, arial, sans-serif ! important; font-size: 10.5pt; z-index=1;}

.Header {position: absolute; left: 1.5cm; right: 1.5cm; top: 0cm; bottom: 0cm; z-index=0;}
[\code]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top