Psider wrote:Actually maybe I do?
What happens if you make sure there's no width on the table (either inline or in the style), and you set a max-width: 100% on the images in the table?
I'm having exactly the same problem. I want the table width to dynamically adjust to the right-side menu, only it doesn't - the table is pushed downwards beneath the menu.
I'm using a TableStyle and neither the width nor the max-width are set within the style. However, in the topic, I had the following:
<table style="width: 100%;mc-table-style: url('../../TableStyles/AlternateRowColor.css') - this is because in the PDF, I want this table at 100% width.
So I used Psider's suggestion and changed it to the following:
<table style="max-width: 100%;mc-table-style: url('../../TableStyles/AlternateRowColor.css')
Works for both PDF (table remains at 100% width) and screen (now adjusts for the side menu).
Thank you, Psider!
Edit: After rolling this solution out to all the tables in my document, I discovered the following:
If you have set an internal column-width to a particular size (either px or percentage) the max-width doesn't work.
If you have very little content inside a table, the table will not stretch to 100% in the PDF. In this instance, I set the width and not the max-width so that my PDF looked ok, but the online help pushes the table under the side navigation menu. As this only occurred once, I decided that I could live with that.