Search code examples
htmlcssorg-modecolumn-width

OrgMode- autofit table column width to contents on HTML export


I am trying to export an Org mode table to HTML, and it's adding a HUGE amount of space between each column so that I have to really scroll to the right to see the whole table. How can I set the table column width to automatically resize according to either cell contents or a percent of the window size?

I have searched forums high and low and not been able to find a solution, I really appreciate any help you could give me.

I have a screen shot that I am mot able to attach due to insufficient reputation points :(


Solution

  • It turns out that the problem I had was with conflicting code in the CSS file. So, if you are having this problem, I recommend checking your style sheet!