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

Linebreaks after tables in RoboHelp HTML WYSIWYG Area

New Here ,
Mar 21, 2012 Mar 21, 2012

Why do linebreaks appear either before or after tables in the WYSIWYG area of topics in RoboHELP HTML?  Is it because I am inserting paragraphs formatted with no space above and below immediately before and after the table?

After I delete them, then save and close the project and then reopen the project once again, these linebreaks appear again creating extra whitespace after the table when generating final MS HTML output.  This does not occur to each table in every topic though.  It appears to happen in some, but not all even though the formatting is the same for each topic as I have copied the same table (formatting style -- None from the default .css style sheet).  Is this simply a RoboHelp bug that cannot be fixed or is there a solution to this dilemma?  I have been using RoboHelp HTML in various versions since 1998 (currently using the latest version RoboHelp 9).  Please note that I am creating the table from scratch and not importing anything from Word or other program to create any coding issues behind the scene (I only use the WYSIWYG Design editor tab -- I do not edit the code in the HTML tab).

Here's a screenshot of the issue

RoboHelp Linebreak Appears Before or After Tables.jpg

Thanks in advance for any advice/helpful input...you guys have created a great forum for help in solving user issues!!

1.1K
Translate
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
LEGEND ,
Mar 21, 2012 Mar 21, 2012

Can you select the line break in the WYSIWYG and then go into the HTML. There take an image of the selected markup code and post that here. It may give us a clue as to what is causing this issue. It is hard to tell from the image you've posted.

Translate
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
New Here ,
Mar 22, 2012 Mar 22, 2012

Thanks so much for attempting to help solve this issue, RoboColum(n) !!  I have a small amount of HTML knowledge from a beginner course and a long ago HTML admin guide which I was asked to format from the raw info provided for a dot.com company many years ago -- so I do understand this to a certain extent. I'm just not a coder extraordinairre at this point (lol).

Here's the equivalent markup code which includes a smattering of the code before and after the linebreak "<br />" (I highlighted the linebreak code in bold type before the next line of code -- "<?rh-list_start level...") :

<p class="Bodytext">&#160;</p>
<table style="vertical-align: Center;" cellspacing="0" width="95%" align="center">
<col style="width: 9.407%;" />
<col style="width: 90.593%;" />
<tr style="vertical-align: center; height: 100px;">
  <td style="width: 9.407%; padding-right: 10px; padding-left: 10px;"><p
    class="Note" style="text-align: center;"><img src="Notepad - use for notes.jpg"
                alt="" style="border: none;"
                width="40"
                height="39"
                border="0" /></p></td>
  <td style="width: 90.593%; padding-right: 10px; padding-left: 10px;"><p
    class="NOTE">If some corporate forms should be signed at this
   point, the activity will be finished by the Signature Step on
   site. The Hiring Manager signs the corporate forms package and
   the activity is placed in the Work Queue if the I-9 form is not
   completed in the Signature Step.</p></td>
</tr>
</table>
<br />

<?rh-list_start level="1" an="1" class="rl-p-Procedurestep" ?><p class="Procedurestep1"
  style="margin-top: 0pt;">If the New Employee provides proof of eligibility
documents within the 3 business days timeframe, the Hiring Manager may
initiate the I-9 3 Business-Days Step by clicking on the New Employee’s
name associated with the I-9 3 Business-Days activity in the I-9 3 Business-Days
process tab of the Work Queue (example shown below).</p><?rh-list_end ?>
<p class="Graphic"><img src="WQ (Click activity to launch  I-9 3 Bus-Days Step wizard).jpg"
       alt="" style="border: Solid 1px #000000; border-width: 1px;
       border-style: solid;" width="1300" height="644"
       border="1" /></p>

Translate
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
New Here ,
Mar 23, 2012 Mar 23, 2012

I actually think that I found the answer to my own question!!  Of course, your interest in the equivalent HTML code was the catalyst to me figuring out how to solve this issue.  After careful observation of other tables where the linebreak does not exist before and after the table, I noticed that there is a line of code representing the beginning and ending of a paragraph as follows:

<p>&#160;</p>

So, I copied this code text and replaced "<br />" with "<p>&#160;</p>" and compiled my project.  Voila!  That fixed the linebreak issue perfectly!!!  So, I meticulously performed this routine in every topic and it appears to have permanently corrected my problem.  I hope this helps others whom may have similar issues in thir projects...

Translate
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 ,
Mar 24, 2012 Mar 24, 2012

In your first post you said "Is it because I am inserting paragraphs formatted with no space above and below immediately before and after the table?"

The code you cite is a paragraph with an empty space.

So the answer you have come to is "Yes".

&#160; is the entity that represents a space in HTML. See http://www.w3schools.com/html/html_entities.asp for more.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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
New Here ,
Mar 25, 2012 Mar 25, 2012
LATEST

You have misconstrued what I meant which is that the line spacing is set to 0pt above and below the paragraph versus 6pt or 9 pt. I figured out how to fix the problem by replacing the
code with

instead. Thanks for your help though, Peter!

Sincerely,

Mitchell L. Hirsch

Technical Writer

mhirsch1@socal.rr.com

(818) 838-7188 (home)

(818) 667-6588 (cell)

Translate
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