Do not allow table rows to break across pages using css
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
Do not allow table rows to break across pages using css
Post by dpksaini89 »
How to not allow table rows to break across pages using css
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Do not allow table rows to break across pages using css
Hello,
What output format do you need to publish to?
As you mentioned page breaks, I guess you are using PDF.
If that's the case and if you need to use CSS to style the PDF output, you should publish your DITA Maps using the out-of-the-box "DITA Map PDF - WYSIWYG" transformation scenario.
You could use the "page-break-inside" CSS property in a custom .css file, then use the custom CSS as a transformation scenario parameter.
Then, in the DITA Map context, look for the "DITA Map PDF - WYSIWYG" scenario in the available scenarios list from the "Configure Transformation Scenario(s)" dialog, duplicate and edit the copy, then set the "args.css" parameter to point to your custom .css file.
More details available in this page of the User-Guide.
Regards,
Costin
What output format do you need to publish to?
As you mentioned page breaks, I guess you are using PDF.
If that's the case and if you need to use CSS to style the PDF output, you should publish your DITA Maps using the out-of-the-box "DITA Map PDF - WYSIWYG" transformation scenario.
You could use the "page-break-inside" CSS property in a custom .css file, then use the custom CSS as a transformation scenario parameter.
Then, in the DITA Map context, look for the "DITA Map PDF - WYSIWYG" scenario in the available scenarios list from the "Configure Transformation Scenario(s)" dialog, duplicate and edit the copy, then set the "args.css" parameter to point to your custom .css file.
More details available in this page of the User-Guide.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 66
- Joined: Thu Feb 08, 2018 2:44 pm
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service