CSS layout option

A

ASP.Net programmer

Hi,

I have an ASP.Net project that uses HTML to output a Word document. I use
inline to format the document, but I have one problem:

I want to use Word's feature to keep a paragraph together (Paragraph
layout, keep together).

The Visual Basic line of code is: Selection.ParagraphFormat.KeepTogether =
True
The CSS code would be: p {page-break-inside: avoid}

Word does not support this feature. Does anyone know how I would solve this
problem?

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top