473,325 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Page Breaks

CJM
I'm working on a ASP application that creates a PDF.

I want the PDF to have a header section, a number of middle sections (1 per
item that I am listing), and a footer section. Clearly the length of the
document will vary from case to case.

The PDF component I am using (ABCpdf) will render an ASP page and store it
as a PDF file, but I need to figure out a way to control where the page
breaks occur - I dont want the middle sections to be split over two pages.

Is it possible to use CSS to specify a page size, and to make the page split
in between the DIVs that wrap each item in the middle sections? This my
first web-to-paper project so all this is new to me.

Thanks in advance

Chris
Jul 21 '05 #1
2 3339
Hi,
Is it possible to use CSS to specify a page size, and to make the page split
in between the DIVs that wrap each item in the middle sections? This my
first web-to-paper project so all this is new to me.

it is: http://www.w3.org/TR/CSS21/page.html
But few of these rules are supported by modern browsers.
Chris
Jul 21 '05 #2
CJM

"Chris Leipold" <cl******@dietzk.de> wrote in message
news:34*************@individual.net...
it is: http://www.w3.org/TR/CSS21/page.html
But few of these rules are supported by modern browsers.


Well it's actually going to be rendered by a 3rd party PDF component, so I
can only guess at what engine it uses to render it.

I've tried 'page-break-before: auto;' for each DIV that I dont want to be
split, but it doesnt seem to respond in the right way.

The PDF component seems to indicate that it does support the
'page-break-before/after' styles, so I'm going to post a question with
them...

Thanks

Chris
Jul 21 '05 #3

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

Similar topics

1
by: Scott | last post by:
Was not sure if this was the place to post this or not, so if not, can someone point me in the right direction. Here is my problem - I have an ASP page the is generating a file with HTML that is...
4
by: Ben | last post by:
I have a page for my company that I need assistance with: http://www.eastex.net/ben/NewETN/subPage.htm When you resize the window (NS or IE) small enough that you have to scroll horizontally...
2
by: darrel | last post by:
We have a bunch of usercontrols we are using on our site. One of them calls functions in a compiled DLL (is that a 'resource' in VS.net terminology?) The pages that contains all of these controls...
2
by: tomh | last post by:
I have a repeater which displays records from a database in table form. Each record is placed in its own table of about 3 columns and ten rows. This website is intended to be printed and prints out...
1
by: kaosyeti | last post by:
hey... i have a report that groups on salespeople. the report footer is a three part summary of the store's total data with 2 different departments for parts 1 and 2 and a store total for part 3. ...
5
by: Jens | last post by:
Posted to: comp.periphs.printers comp.lang.c comp.lang.postscript Hello, I am looking for some publically available methods/algorithms or C source code for detecting
0
by: bblue | last post by:
hi, I need help in implementing page breaks in XML files? any suggestion on how can this be done? do you recommend using processing instructions or add a new elements would make more sense? can the...
2
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I have an asp.net webform I need to make 'printer-friendly'. Problem is that content on the webform is dynamic - subject to change size, spacing, etc. Is there a way I can programatically...
2
by: pollock | last post by:
I am trying to create a form that allows users to paste information (a full adress) from an other application (xml based ) into an access 97 text box - then use vba code to split the string into...
5
by: Andreas Prilop | last post by:
Firefox 3 (like older versions) ignores TR { page-break-before: always } for the first row of a TBODY. Sample page: http://www.unics.uni-hannover.de/nhtcapri/temp/1000.html Choose "Print...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.