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

Issue with the alignment of notes

New Here ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

Dear All,

 

We tried upgrading files from RoboHelp 2017 to 2022.

But some of the notes are unaligned (border is not complete) as given below.

Robo Help 2022

amrutha_3925_0-1732184884001.png

RoboHelp 2017

amrutha_3925_1-1732184974990.png

Can anyone suggest a solution?

 

Views

172

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

Contributor , Nov 26, 2024 Nov 26, 2024

Ideally, you'd have a div/table with a 'note' class. In that case, it' be easy to just assign them a CSS 'width: 95%'.

 

Inline styles make it very hard to accurrately and robustly grasp them with CSS. Using a CSS selector on inline styling only works if all your inline styles are exactly the same.

 

If we naïvely assume that all your 'notes' are actually table tags with the following exact inline styling:

<table style="border: 1px solid #6792C6;">...</table>

 

Then you ''could'' add the following CSS:

...

Votes

Translate

Translate
Community Expert ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

You are referring to the fact that the right hand border is not showing, correct?

 

Click in the table and then click the Table breadcrumb. In the properties that will then show on the right, you will be able to change the width for that table. What you then need to do is set that width in the table style in the CSS.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

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 ,
Nov 22, 2024 Nov 22, 2024

Copy link to clipboard

Copied

It's impossible to tell from the screenshots you have provided what is going on. But it may well be because RH2017 generally didn't do nested elements in lists correctly. So the elements might be using indenting rather than corect nesting, which pushes the right-hand side that much further right. From memory this will need tweaking of the right margin, but depending on the coding of the element with the border, this might require manual tweaks per instance, or the creation of multiple styles with different margins depending on the indenting level of that element (and manual application of that style).

 

The ultimate fix will be to make sure the underlying html code is correct (which you can do more easily in the WYSIWYG editor in New UI) but obviously that will take some time.

 

If you need more help, post some code of the relevant area (maybe a couple if different indenting applies), plus the relevant style setup from your stylesheet.

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
New Here ,
Nov 24, 2024 Nov 24, 2024

Copy link to clipboard

Copied

Dear Amebr,

Thanks for the response.

Please find the attached style sheet.

 

Regards,

Amrutha V Nair

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 ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

I think what @Amebr wanted was to see the code of a note along with some of the code before and after.

 

I have downloaded your CSS but I can't tell which style you are applying to the Note.

 

Did you try what I had suggested?

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

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
New Here ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Dear Peter,

 

We followed your suggestions and found out the required width.

Currently, we are trying to apply it to the style sheet.

 

Regards,

Amrutha V Nair

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 ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Which style is applied to the notes? Let me know that I can probably help.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

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
New Here ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Dear Peter,

We are not using any styles, instead, we use the Insert colum functionality to insert notes.

Then, we customised the code in accordance with our preferences and so, it worked well on creating new projects.

But , when we import the classic files, the above-mentioned error occures.

So,we haven't customised any styles from the Styles menu as you mentioned.

 

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 ,
Nov 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Oh! Not the best way to work.

 

Are the new projects using the same CSS as the one where you are having trouble?

 

It sounds as if you have been applying inline styling and that has not upgraded well. First you will need to remove the existing inline styling and you could then reapply new inline styling. However, the better option would to be create a note style.

 

If you create a new project and import the CSS and one topic with a note showing the problem, I can provide some notes on how to do that.. Zip up the new project and send it as instructed on my Contact page.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

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
Contributor ,
Nov 26, 2024 Nov 26, 2024

Copy link to clipboard

Copied

LATEST

Ideally, you'd have a div/table with a 'note' class. In that case, it' be easy to just assign them a CSS 'width: 95%'.

 

Inline styles make it very hard to accurrately and robustly grasp them with CSS. Using a CSS selector on inline styling only works if all your inline styles are exactly the same.

 

If we naïvely assume that all your 'notes' are actually table tags with the following exact inline styling:

<table style="border: 1px solid #6792C6;">...</table>

 

Then you ''could'' add the following CSS:

table[style="border: 1px solid #6792C6;"] {

width: 95%;

}

 

If the inline styling tends to differ from note to note, then consider yourself unlucky.

 

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