OsakaWebbie
Programmer
I'm starting a new thread with an issue that surfaced on another thread (thread215-1218630) because it seems to have taken on a life of its own.
The CSS properties "page-break-before", "page-break-within", and "page-break-after" are well documented on various authoritative web sites as being an established part of CSS2, with possible values of "auto", "always", "avoid", "left", and "right", and auto being the default. But have any of you had any success in either Firefox or IE with the value "avoid"? I can force a page break with "always", but I can't seem to avoid one, even though I give the browser ample opportunities to put the page breaks in appropriate places. In my case, every line is a <p> element, but there are various classes (some I don't mind breaks, others I try to keep together as a set). I can share code, but first, can anyone say that the properties actually work for them?
The CSS properties "page-break-before", "page-break-within", and "page-break-after" are well documented on various authoritative web sites as being an established part of CSS2, with possible values of "auto", "always", "avoid", "left", and "right", and auto being the default. But have any of you had any success in either Firefox or IE with the value "avoid"? I can force a page break with "always", but I can't seem to avoid one, even though I give the browser ample opportunities to put the page breaks in appropriate places. In my case, every line is a <p> element, but there are various classes (some I don't mind breaks, others I try to keep together as a set). I can share code, but first, can anyone say that the properties actually work for them?