Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Apparently, PDF export takes any table and forces the columns to be all the same width. Three columns are forced to 33% each regardless of the text. I would like them to NOT specify the width, and let the columns achieve their natural width based on the content. Cannot find how to do this. Certainly there is a CSS override (already using one to increase the font size) but I am not savvy enough to find it.
Thanks in advance.
This behaviour is defined by the CSS property "table-layout". It can be "auto" or "fixed". Try "auto" to have the table automatically adjust to the content inside the table cell.
I added the code
table { border-collapse: collapse; table-layout:auto; }
And it works like a CHARM!
Thank you Steffan!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You added that code on the PDF Stylesheet on the Look&Feel section??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jorge:
Yes, that is right. You must enter the CSS code at
Browse > Space Admin > Look and Feel > PDF Stylesheet > PDF Export Stylesheet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.