According to everything I have read, css2 allows
object.style.pageBreakAfter="" to suppress the printing of, for example, header tags at the bottom of a page. I have tried putting the page-break-after style directly in a <h4> tag and have tried scripting it in both vbscript and in javascript. In the tag, it is just ignored. In the script, I get an "object doesn't support this property or method ..." error. And, when scripting, I changed the tag to a <div> and also to a <p> to try to make it work as I don't believe the scripting is supported with header tags.
Any ideas on how to make this work?
object.style.pageBreakAfter="" to suppress the printing of, for example, header tags at the bottom of a page. I have tried putting the page-break-after style directly in a <h4> tag and have tried scripting it in both vbscript and in javascript. In the tag, it is just ignored. In the script, I get an "object doesn't support this property or method ..." error. And, when scripting, I changed the tag to a <div> and also to a <p> to try to make it work as I don't believe the scripting is supported with header tags.
Any ideas on how to make this work?