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

Autofit to contents in tables in Robohelp 10 has bad rendering when the th/td tag is set in the .css

New Here ,
Nov 06, 2012 Nov 06, 2012

When updating to Robohelp 10, all my tables that were set to "Autofit to contents", got a really bad rendering in Robohelp design view; the last row, that most often had the most text, got the least space. The chm file looks OK though.

However, it is hardly readable in Robohelp design view with this rendering.

It seems like the tags th/td in the css file causes this to happen, because when they are not defined, the design view is ok. However, then I do not get the looks i want from the compiled help file that the customer uses.

Robohelp-designview.png

Table definitions in the .css file:

table {
font-family: "Segoe UI", Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #3c3c3c;
border: 1px solid #C8DDF0;
margin: 1em auto;
border-collapse: collapse;
}

/* this style gives us nice inline borders, but ruins the view in RoboHelp*/
td, th { padding: .3em; border: 1px #C8DDF0 solid; }

Any help would be appreciated.

719
Translate
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 ,
Nov 06, 2012 Nov 06, 2012
LATEST

That code is nothing like the way Rh writes the code for a CSS table. I'm not saying it is not valid, simply that it is not what Rh is expecting.

Take a look at one of the CSS files is the sample projects.

Maybe you will need to create a table using RoboHelp's Table Editor. Good luck with that.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
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