Skip to main content
October 20, 2011
Question

Caption in converted tables positioned to left instead of above table

  • October 20, 2011
  • 2 replies
  • 1792 views

I have been converting a FrameMaker 9 document to WebHelp with RoboHelp 8, and I just upgraded to FrameMaker 9 and RoboHelp 10. When I try to convert the same FrameMaker book, I now have problems with the position of table captions: they appear to the left of the header row instead of above it. This occurs when viewing the help with FireFox.

I attempted to map my tables to something other than [source] in the Conversion Settings dialog box, but the pull-down list does not give me any choices. How can I change the way that the table titles get displayed? The FrameMaker paragraph style for the table title used to be converted to a <p> element, but now gets converted to a <caption> element, but I don't see how to control the <caption> output.

This topic has been closed for replies.

2 replies

Known Participant
November 19, 2013

2½ years later, I have much the same problem in TCS4.

I have a FrameMaker table format where the table title is *above* the table.

My Frame book is linked into the RoboHelp project by reference.

In RH's File > Project Settings > Import > Edit Conversion Settings for FrameMaker docs > Table,

my table style is clearly set to "[Source]", even "Caption Style" is "[Source]"

...but in my HTML Help output, the table caption is plonked at the bottom of the table, not the top.

This is a bug, surely?

I'm getting a bit sick of RoboHelp dialogs which just don't work :/

Known Participant
November 19, 2013

PS something odd is going on, because I tried to go into the RHMapping.css and add/edit the line mentioned above for caption position, and there is no mention of my [Source] table style in the CSS... surely RoboHelp should have created a new style in the CSS to match this name? (I can see the name in the Conversion Settings dialog)

Known Participant
November 19, 2013

So, if I examine my HTML Help output in the RH preview pane,

in HTML view, there is a line like so:

caption.class="FM_TableTitle" align="bottom"

And if I manually change that to align="top", it puts the caption where I want it.

How do I make this happen automatically, globally?

Because my RHStyleMapping.css file have no entries for captions or "FM_TableTitle" in it at all.

I presume I can manually add a line to RHStyleMapping to control the alignment and it will apply it next time I generate the HTML Help? What would I need to put (I am a bit of a novice at CSS)

Jeff_Coatsworth
Community Expert
Community Expert
October 20, 2011

First - does it appear the same in other browsers (that would narrow down if it's just a Firefox issue)

Second - strangely enough, you can type right over that field - it's possible to do so in a number of places, but you'd never know it because there's no indication that the field accepts any input. I stumbled across this when formatting my breadcrumbs in the SSL - we already use ">" as a convention to indicate paths, and there appeared to be no way to change it on the dropdown list provided until I typed over it to give me " => " as my "arrow."

October 21, 2011

I actually solved this problem after I posted. I modified the CSS to include:

caption {

caption-side:top;

}

This forced FireFox to place the table title above the table.

ZeBarron
Inspiring
November 10, 2011

Here's a good reference for those wanting to check the availability of the CSS property in different browsers: http://www.w3schools.com/cssref/pr_tab_caption-side.asp