[thelist] Help with widows and orphans in printing
Kathleen Vignos
kvignos at hotmail.com
Tue Apr 6 18:00:05 CDT 2004
I have a PHP script that dynamically generates an HTML document with various
paragraphs and paragraph headings. I need to be able to force the browser
(IE or NN at this point) to print in such a way that paragraph headings are
not "widowed", or left at the bottom of the page with the paragraph on the
next page. CSS2 "widow" and "orphan" don't seem to work in IE or NN (not
yet supported by IE, I don't know why it's not working in NN).
"page-break-inside:avoid" doesn't work either. Browsers are supposed to
automatically follow widow/orphan rules to avoid having single lines at the
top/bottom of a page, but I am not finding this to be the case at all. Has
anyone run into this problem and conquered it?
THANKS!
_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and
safe. http://specials.msn.com/msn/security.asp
More information about the thelist
mailing list