Highlighted

Blank spaces when hiding tables using CB tags

Participant ,
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.

Adobe Community Professional
Correct answer by Amebr | Adobe Community Professional

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.

Topics

HTML

Views

283

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

Blank spaces when hiding tables using CB tags

Participant ,
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.

Adobe Community Professional
Correct answer by Amebr | Adobe Community Professional

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.

Topics

HTML

Views

284

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
Adobe Community Professional ,
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

www.grainge.org for free RoboHelp & Authoring info. 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...
Participant ,
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

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...
Adobe Community Professional ,
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?

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...
Participant ,
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

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...
Adobe Community Professional ,
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.

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

Copy link to clipboard

Copied

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

Mark

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