Quantcast
Channel: HtmlRenderer Discussions Rss Feed
Viewing all articles
Browse latest Browse all 63

New Post: Stop page breaks for certain tags

$
0
0
Hi, is there any way to ensure a page break doesnt happen for html content within certain tags, when using PdfGenerator.GeneratePdf? For example:
<div>
<p>Text</p> <p>Text 2</p> <div>

I'd like to ensure that everything within div appears on the same page (unless it exceeds the length of a page).
Thanks

Viewing all articles
Browse latest Browse all 63

Trending Articles