Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I'm having the same issue for WebHelp output for RH6. After inserting a table, with a style of "none," no matter what values I place in the table width and column width fields of the Table Properties dialog box, the table remains stubbornly 100% width, columns evenly spaced. I've tried percentages and I've tried pixels (e.g. 400px). I've also tried dragging the table handles and the row and column separators in the WYSIWYG editor, but it has no effect. Nothing seems to work -- the tables simply span the page, in both FF 3.5 and IE7. It's very frustrating.
Just to be sure, I also checked the CSS files to make sure there were no styles to the table elements, and there are none.
Any help would be most appreciated.
Thanks
Copy link to clipboard
Copied
Hi,
Can you post a HTML file with such a table?
Greet,
Willam
Copy link to clipboard
Copied
Thanks for interest Willem. I've attached a sample of such a page here.
Testing the file link here on the forum, the HTML page looks fine if opened by itself in a browser. But when it is part of a WebHelp project it is a mess and editing the table through RoboHelp 6's HTML editor results in the problems described above.
Thanks,
-chi
Copy link to clipboard
Copied
Hi,
This table works fine on my computer in IE8 and FF3.5. There is no style that prescribes the width, so the browers falls back to the default value of auto, unless it is defined differently. This is a source file, do you only have this problem with output files, or also with source files?
The only thing is that your table is centered with a DIV element. What happens when you delete the DIV element and add 'margin-left: auto;' and 'margin-right: auto;' to the style element of the table tag?
Greet,
Willam
Copy link to clipboard
Copied
Thanks very much for looking at this for me Willam. I found the culprit -- in my CSS. I set the Body width to 600px but I also apparently set the P width to 600px! So, naturally, the table cells could not be resized. Happily, this had an easy solution -- I removed the width property from the P selector and now the tables behave properly.
Thanks again!
~Chi
Copy link to clipboard
Copied
I was having a similar problem with column sizing, but my CSS did not have any width parameters, neither for columns nor for paragraphs.
The table in question had five columns and 1230 rows. The table originated in an Access database, which I exported to Excel, which I pasted to DreamWeaver, where I stripped out all tags except for the very basic: valign, p, td, tr. Then I pasted the code into the HTML view of RH10, applied a style to the table, then styled the text (p and a).
Of the five columns, only the first would consent to have its width altered.
So while troubleshooting, I gradually stripped out everything: table style, paragraph and character styles, alignment...
Guess what finally got the columns "unstuck"?
I deleted the br line breaks, which were present in all but the first column.
In the center column, some cells had as many as 5 line breaks, which is why that column stayed the widest. It was as if the br tags had fused the text together in a solid line that propped the columns open. On both the WYSIWYG and HTML views, the text broke across the line.
Just not in RoboHelp's secret imagination.
Technology is our friend.
Copy link to clipboard
Copied
Try right clicking in the table and selecting Table Style. You will then see an option to Clean Inline Formatting. Your table style should be selected but if not, reselect it before you click OK.
Hopefully that will remove whatever is getting in the way.
See www.grainge.org for RoboHelp and Authoring tips