[thelist] HTML Code for Page Breaks when Printing?

aardvark roselli at earthlink.net
Wed Aug 23 08:13:56 CDT 2000


> From: Villano, Paul
> 
> Is it possible to include HTML code (if so, what 
> is it?) for page breaks
> when printing HTML pages?  I have pages that

it's CSS2 code, and it only works in IE5+ (win, dunno about Mac)... it also only works on block-
level elements (the MS docs are incorrect, you can't use it in a <br>)... the rest you can get 
from the W3C specs on CSS2...

so try:
<p style="page-break:after|before|[there's another one, you'll have to check the specs]">
foo bar
</p>






More information about the thelist mailing list