• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RH2020 element size in Word vs. PDF

Enthusiast ,
Oct 13, 2020 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

Views

158

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
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 13, 2020 Oct 13, 2020

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

 

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

 

Votes

Translate

Translate
Community Expert ,
Oct 13, 2020 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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

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
community guidelines
Enthusiast ,
Oct 13, 2020 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

Votes

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
community guidelines
Community Expert ,
Oct 13, 2020 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?

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

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
community guidelines
Community Expert ,
Oct 13, 2020 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? 

Votes

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
community guidelines
Enthusiast ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

LATEST

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 ^^

Votes

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
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp