Tables bigger than page size
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 21
- Joined: Mon Dec 05, 2022 9:35 am
Tables bigger than page size
Post by [Stupid]_[User] »
Hello everyone!
Some tables in my document have size more bigger, than the page size. Some tables also go beyond the margins of the page. Is it a way to set a max table size using css file? It'll be great if, when the table size bigger than it can be, rightmost column will resize automatically (i.e. it would shrink in width).
Some tables in my document have size more bigger, than the page size. Some tables also go beyond the margins of the page. Is it a way to set a max table size using css file? It'll be great if, when the table size bigger than it can be, rightmost column will resize automatically (i.e. it would shrink in width).
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: Tables bigger than page size
Post by andrei_pomacu »
Hi,
If you want to select some tables that needs to be resize you should add an outputclass on each table to be identified in the CSS.
Example:
In the CSS you can change the width of the table and also you need to break the words in order to fit in a shrink column.
Also, you can check our User Guide related with the control of tables:
https://www.oxygenxml.com/doc/versions/ ... ide_tables
https://www.oxygenxml.com/doc/versions/ ... eding_page
https://www.oxygenxml.com/doc/versions/ ... able_cells
Regards,
Andrei
If you want to select some tables that needs to be resize you should add an outputclass on each table to be identified in the CSS.
Example:
Code: Select all
outputclass = "fixed-width-table"
In the CSS you can change the width of the table and also you need to break the words in order to fit in a shrink column.
Code: Select all
*[class ~="topic/table"][outputclass = "fixed-width-table"]{
width: 7in;
overflow-wrap:break-word;
}
Also, you can check our User Guide related with the control of tables:
https://www.oxygenxml.com/doc/versions/ ... ide_tables
https://www.oxygenxml.com/doc/versions/ ... eding_page
https://www.oxygenxml.com/doc/versions/ ... able_cells
Regards,
Andrei
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