Skip to main content
Inspiring
February 16, 2014
Question

Is there any way to control table indentation via a style?

  • February 16, 2014
  • 1 reply
  • 428 views

Experts-

HI. I'd like to see if there's a way to control the indentation of tables in a document by simply adjusting the margin-left value via a (Table?) style?

I finding that table indentation is adjusted in a table's properties settings:

<table class="AlternateBlueColorGrid" style="padding-left: 6.00pt; padding-top: 6.00pt;

         padding-right: 6.00pt; padding-bottom: 6.00pt; margin-left: 40px;"

         cellspacing="0" width="577">

This is fine for adjusting a single table. But supposing I want to indent all tables in a document or, better, all tables of a certain style. There doesn't seem to be a way to make the indentation setting part of a table style to facilitate this action, at least not through the table settings dialog.

I see that I can specify margins in a div style, but I can't seem to apply a div style to a table (or paragraphs for that matter. I need to read up on div styles.)

Thanks in advance?

-Kurt

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
February 18, 2014

You can do this by manually editing the CSS with notepad, as I don't

think the RoboHelp CSS editor supports this. What you can do is just

take the margin-left style and put it in the selector for the table. In

the example, look foor

table.AlternateBlueColorGrid {

}

If it doesn't exist, you can just add this to the CSS.

Kind regards,

Willam