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

Blank spaces when hiding tables using CB tags

Participant ,
Dec 03, 2018 Dec 03, 2018

Copy link to clipboard

Copied

Hi. I am using Conditional Build tags to hide complete tables in RoboHelp 2017. Although the tables are hidden, blank spaces remain, which looks bad. Please could you advise how I can get round this problem. I have looked in HTML View, and cannot see anything which would cause this.

Thanks for any Help you can offer.

Views

555

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 , Dec 04, 2018 Dec 04, 2018

Ah, I think I remember. I think the problem was with trying to condition rows, and the tag was being applied to the cells so the rows remained visible just not the content. But yeah, I'm sure that was fixed at over a decade ago.

You could try dragging your cursor through the cells to select the whole table (rather than from the paragraph before), then apply the tag. It shouldn't make any difference, but you never know.

The only other thing would be to post some of the code and maybe we would see s

...

Votes

Translate

Translate
Community Expert ,
Dec 03, 2018 Dec 03, 2018

Copy link to clipboard

Copied

The only things I can think of offhand are empty paragraphs before and/or after or the spacing below or before the preceding and following paragraphs.

Could it be either of those?


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

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
Participant ,
Dec 03, 2018 Dec 03, 2018

Copy link to clipboard

Copied

Thanks for your suggestion. I have checked the HTML and there are no empty paragraphs in these positions.

Cheers

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 ,
Dec 03, 2018 Dec 03, 2018

Copy link to clipboard

Copied

I vaguely remember a bug from years and years ago, although I haven't encountered it in forever. And I can't exactly remember the cause. I think it had something to do with how the table was selected before applying the tag? Maybe if you describe how you select the table and then apply the tag, something will occur to me?

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
Participant ,
Dec 04, 2018 Dec 04, 2018

Copy link to clipboard

Copied

Hi. There is a heading and a paragraph above the table, and a heading and a paragraph below it. I dragged from the end of the paragraph above the table, to the start of the heading below the table. I then right-clicked and selected the required Conditional build tag. Cheers, Mark

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 ,
Dec 04, 2018 Dec 04, 2018

Copy link to clipboard

Copied

Ah, I think I remember. I think the problem was with trying to condition rows, and the tag was being applied to the cells so the rows remained visible just not the content. But yeah, I'm sure that was fixed at over a decade ago.

You could try dragging your cursor through the cells to select the whole table (rather than from the paragraph before), then apply the tag. It shouldn't make any difference, but you never know.

The only other thing would be to post some of the code and maybe we would see something.

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
Participant ,
Dec 05, 2018 Dec 05, 2018

Copy link to clipboard

Copied

LATEST

That's brilliant, thanks very much. I did exactly as you suggested, and it worked perfectly.

Mark

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