Is it possible to create a very simple form with just the following html code in NSB?
<!DOCTYPE html><html><body> <table><tr><td>table1</td></tr></table> <div style='page-break-after:always;'> </div> <table><tr><td>table2</td></tr></table> </body></html>
The reason concerns the “page-break-after:always” div.
How “page-break-after:always” works: when Ctrl-P (or Print) is issued from the browser the preview shows two separate printable pages instead of the one continuous web page. This works OK when the above code is executed when saved as an html file and run from the Chrome browser (that is, it is not a Web App). But when put into an NSB HTMLView control the “page-break-after” doesn’t work (I also tried a label object).
Note that W3Schools says the following: “You cannot use this property on an empty
<div> or on absolutely positioned elements.” This may or may not have relevance. I have tried setting the Forms position property to all available settings without success.