Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Formatting Page for Print

Thread Tools

Formatting Page for Print

Chris Lieb
Posts: n/a
I have a XHTML page that is structured into six regions using divs and
is viewed exclusively on IE6. Two of the regions contain tables that
can become long (close to a page in length). When the first or both
regions start to get long, the second one ends up getting split across
a page break, which is what I am trying to aviod. I tried implementing
a stylesheet for the print media type with the following rule:

div#slicrange, div#servicelevel, div#ziprange, div#comments {
page-break-inside: avoid;
page-break-before: auto;
page-break-after: auto;

Unfortunately, IE doesn't implement support for the page-break-inside
property, which is what I really need. Does anyone know of anyway to
fix this? If there isn't a straight HTML/CSS method, I can also use
Coldfusion or ASP. I considered converting the document to PDF since
its main purpose is to be printed and posted, but I haven't been able
to find any free PDF libraries out there.

Any help is much appreciated.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
print a vs print '%s' % a vs print '%f' a David Cournapeau Python 0 12-30-2008 03:19 AM
Problem - I want to print Current Output of Pdf file and should print once.I get print dialog box but it is not working keto Java 0 05-30-2007 11:27 AM
Print and print overview and current page Bernard Segonnes Java 0 11-04-2004 02:48 PM
Unlarging the print to print using PDF file to print Bun Mui Computer Support 3 09-13-2004 03:15 AM
Need formatting options menu for formatting hard drive Mark T. Computer Support 3 11-24-2003 11:50 PM