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.
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
...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.
Copy link to clipboard
Copied
Thanks for your suggestion. I have checked the HTML and there are no empty paragraphs in these positions.
Cheers
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?
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
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.
Copy link to clipboard
Copied
That's brilliant, thanks very much. I did exactly as you suggested, and it worked perfectly.
Mark