473,503 Members | 2,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS Headers / Footers on Printout ????

Hi CSS gurus!

I have an embarassing problem.

I am a php programmer and I try to expound the advantages of css on the php
newsgroups.

However, after telling someone that they should use css to solve their
problem, I am having trouble coming up with the goods! + I would like to
know the answer too.

I am sure this is a common task: how do you get headers and footers onto a
printout?

For instance, a box is formatted to A4 width and takes more than a page to
print. How do you get the box to 'page break' add a footer and a header and
resume printing the box, with borders etc. intact?

Is it possible with css1 (or at least a good proprtion of browsers).

Any help greatly appreciated.

RU


Jul 20 '05 #1
2 6204
Rupe wrote:
I am sure this is a common task: how do you get headers and footers onto a
printout?

For instance, a box is formatted to A4 width and takes more than a page to
print. How do you get the box to 'page break' add a footer and a header and
resume printing the box, with borders etc. intact?

Is it possible with css1 (or at least a good proprtion of browsers).


No. Headers and footers are a browser function, set up in the page
settings. Current browsers are generally poor at positioning page breaks.

--
Mark.
Jul 20 '05 #2

"Mark Tranchant" <ma**@tranchant.plus.com> wrote in message
news:GQ*******************@stones.force9.net...
Rupe wrote:
I am sure this is a common task: how do you get headers and footers onto a printout?

For instance, a box is formatted to A4 width and takes more than a page to print. How do you get the box to 'page break' add a footer and a header and resume printing the box, with borders etc. intact?

Is it possible with css1 (or at least a good proprtion of browsers).


No. Headers and footers are a browser function, set up in the page
settings. Current browsers are generally poor at positioning page breaks.

--
Mark.


Thanks Mark,

I was thinking more of server generated running headers and footers on a
'print friendly' page(s).

You are right, browsers don't do this stuff yet:

Here's how to add a running footer, but its only supported in in CSS2
(unsupported
in most browsers):

http://www.pwg.org/xhtml-print/HTML-...html#page_area

Ru

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1935
by: Web Surfer | last post by:
www.authoring.stylesheets] Is it possible to use stylesheets to override the Headers and Footers that are displayed on a printed webpage ?
28
14014
by: reneecccwest | last post by:
hello, how can I remove IE headers and footers when I print a page? I'd like to use a code to remove them, not thru the IE page setup. s/RC
3
1977
by: Chris Transcend | last post by:
Hi all, I'm writing my first .NET website and am wondering what the best method for including headers and footers is. I was thinking either a user or server control but am not sure which would...
1
2551
by: Kenneth | last post by:
Hi, In IE6 you can configure output to the printer getting a clean printout only with content, but without headers and footers. You remove the Header and Footer content from the Page Setup. But...
1
2600
by: Dan Sikorsky | last post by:
Under the File menu, Page Setup item in the IE is a way to setup the Page headers and footers the show when you print a page in the browser. How can we set those programmatically in a webform? ...
7
6856
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
1
5847
by: Joao_H | last post by:
I am trying to save and print reports of calculations of a program that make adjustments. Doing that for a Word Document is fine because we can format the text from VB .NET. I have already all...
3
1946
by: Dessip | last post by:
Hey, this is probbly a really simple answer, but im useing ASP.NET V1.1 and im trying to create a dynamic header, but a static footer. But i dont want to use place holders. thou its probbly the...
0
1616
by: steve | last post by:
I am looking for a way to create dynamic headers and footers in a web form. There are .Net PDF products that convert web form content into PDF format and insert dynamic headers/footers. I'm...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.