NotePrinting Sucks
They say that printing from the web sucks, they are right. After spending quite a bit of time on it, I realized that this does not work:
You have to define it externally in a <style> element of a CSS file, define a class for it and then:
<style>
br.PageBreak { page-break-after:always;}
</style>
<br class="PageBreak"/>
More posts in "Note" series:
- (06 Feb 2007) Printing Sucks
- (06 Jan 2007) Changes in NHibernate Connection Provider
Comments
Actually, the style element can be defined in the head section of the page using the style tag, or in an external css file, without the style tag.
The second example was just to show that you can use inline styles to page break.
Comment preview