HTML Printing Problems

Dave Yost’s HTML Printing Test

Can you get this page to print properly?

Is there a browser that can print this document properly or is there a conversion path from HTML to PDF that works correctly?

As of September 21, 2005:

As of June, 2003:

I'm writing a long document with lots of tables and illustrations.  I'm using HTML because

The problem is with printing (onto letter-sized paper).  All paths I know of from HTML to the printed page split tables across page breaks.

0 modelLength    
Here is a  character range  in a model .  
begin end modelLength − 1
Figure 1.
Do the vertical lines between characters print?
Does the blue background print?
Camino gets these right.

Figure 2. This is here for spacing.

This paragraph is inside a
    <div style="page-break-before: always">
tag, as specified by the CSS2 standard, so this paragraph should be at the start of page 2. (I can manage without this feature for now.) Mozilla and Camino get it right! See Printing Webpages - FAQ, page-break-before.

Figure 3. This is here for spacing,
but it is probably split if the above paragraph was not at top of page.

The problem for which I have not yet found a solution is that tables split across pages. The CSS2 standard says “CSS2 does recommend that user agents observe the following heuristics (while recognizing that they are sometimes contradictory): ... Avoid breaking inside a table.”

So the question is this: is this next table split across the bottom of this page and the top of the next?

Figure 4.
Is this table split across pages?

Figure 5. This is here for spacing.

Let’s try again with this next table. It is inside a
    <div style="page-break-inside: avoid">
tag, as specified by the CSS2 standard, so this paragraph should be at the start of a page. See Printing Webpages - FAQ, page-break-inside.

Figure 6.
This table explicitly asks not to be split.

Just so this document won’t be entirely free of useful content, here is a word from a key founding father of our modern age:

For myself, I found that I was fitted for nothing so well as for the study of truth; as having a Mind nimble and versatile enough to catch the Resemblances of Things (which is the chief point) and at the same time steady enough to fix and distinguish their Subtler Differencies; as being gifted by Nature with Desire to seek, patience to Doubt, fondness to Meditate, slowness to assert, readiness to consider, carefulness to dispose and set in order; and as being a man that neither affects what is new nor admires what is old, and that hates every kind of Imposture. So I thought my Nature had a kind of familiarity and Relationship with Truth.
    —Francis Bacon, "Of the Interpretation of Nature" 1603-4 - this page
2003-06-19 Created
2005-09-21 Modified