View Single Post
  #1  
Old February 5th, 2016, 07:02 AM
EricC EricC is offline
Regular Contributor
 
Join Date: Nov 2008
Posts: 88
Question Table Margin and Padding

I created a table using FusionPro.
The table has a border on all 4 sides.

Below the table, I want to add 12px of margin.

In the world of CSS and HTML, the 'margin' is defined as the area OUTSIDE the box. (And 'padding' is the area inside the box).

But according to FusionPro, the margin is the area INSIDE the box. Is this correct?

I am adjusting my table's bottom margin like this:
Code:
myTable.Rows[0].Cells[0].Margins.Bottom = 12;
...but it's adding space inside the box, not outside as I would expect.

So, how can I add 12px of space below my table?

(I know I can just add a blank line, but I wanted precise control of the space in pixels. A 'margin' property would do the trick ;-)



The CSS Box Model
http://www.w3schools.com/css/css_boxmodel.asp


__________________
--
Eric Carbone
IT/Project Manager, MOR Printing Inc.

Windows 10 |Adobe Acrobat XI | FusionPro 9
Reply With Quote