Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Tables & Charts

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Tags
margin, padding, table

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.