RH2020 element size in Word vs. PDF

Engaged ,
Oct 13, 2020

Copy link to clipboard

Copied

Hi all, 

I am using RH2020.1.54 and have the following question: when I generate a PDF output, elements such as tables and images are resized to fit onto the pages. When I generate a Word output, this does not happen. Thus, my tables and large images are exceeding the page. Are there any settings / definitions to be made so that the Word output works similar to the PDF output in this regard? 

I'm not very good with CSS and the like, but I wondered if I maybe have to tell my tables some maximum width for Word output only or something. But, why is it working for PDF, but not for Word? 

Any ideas, anyone? 

Best regards

Karin

Adobe Community Professional
Correct answer by Peter Grainge | Adobe Community Professional

The cheeky answer is PDF is Adobe and Word is Microsoft!

 

How are your table widths defined? I use 100% and it works OK.

 

Views

35

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

RH2020 element size in Word vs. PDF

Engaged ,
Oct 13, 2020

Copy link to clipboard

Copied

Hi all, 

I am using RH2020.1.54 and have the following question: when I generate a PDF output, elements such as tables and images are resized to fit onto the pages. When I generate a Word output, this does not happen. Thus, my tables and large images are exceeding the page. Are there any settings / definitions to be made so that the Word output works similar to the PDF output in this regard? 

I'm not very good with CSS and the like, but I wondered if I maybe have to tell my tables some maximum width for Word output only or something. But, why is it working for PDF, but not for Word? 

Any ideas, anyone? 

Best regards

Karin

Adobe Community Professional
Correct answer by Peter Grainge | Adobe Community Professional

The cheeky answer is PDF is Adobe and Word is Microsoft!

 

How are your table widths defined? I use 100% and it works OK.

 

Views

36

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 13, 2020 0
Adobe Community Professional ,
Oct 13, 2020

Copy link to clipboard

Copied

The cheeky answer is PDF is Adobe and Word is Microsoft!

 

How are your table widths defined? I use 100% and it works OK.

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Engaged ,
Oct 13, 2020

Copy link to clipboard

Copied

ah 🙂 My tables are also 100%. This is how it looks in source code:

<table class="Normal" width="100%">

This is my table class Normal in css: 

table.Normal td {
border-width: 1px;
border-style: solid;
border-color: #000000;
padding-top: 3px;
padding-right: 5px;
padding-bottom: 3px;
padding-left: 5px;
}

And this is how it looks like on the right side of my Word:

table.PNG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Adobe Community Professional ,
Oct 13, 2020

Copy link to clipboard

Copied

Try creating a new table in 2020 but don't apply a style, just add it from the toolbar.

 

Does that behave in a different way?

 

Then try repeating that but right click in the table and select the table from the context menu.

 

Apply on of the templates that should then be in a Table tab in Properties.

 

Does that work?

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Adobe Community Professional ,
Oct 13, 2020

Copy link to clipboard

Copied

Karin, the CSS snippet is for a table cell (table.Normal td). Can you check again the CSS for the table? 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0
Engaged ,
Oct 13, 2020

Copy link to clipboard

Copied

Thank you, Amber! I found it: in the table CSS width: 900px was defined. I removed it, and now it works. I clearly have to learn much more about CSS ^^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 0