I am converting my HTML document to word document by using aspose.words in .NET. For that,I am using page break css in my style sheet and it’s not working with the converted word document.
this is my css css.PNG (6.0 KB)
this is my HTML part which is not working with the above css.
html.PNG (16.1 KB)
this is the word document section which has the issue.
word.PNG (32.1 KB) in this image you can see the “top sales” header . I want to get that header to the next page without break. If some header topic display like this in the document , I want to get it to the next page.
why that CSS is not working with the converted document??Could you please help me to solve this?