Code: Select all
<style>
p td {margin-bottom: 5pt; }
</style>
Any insight is appreciated. If necessary I can send the topic and related stylesheets.
Thanks
Code: Select all
<style>
p td {margin-bottom: 5pt; }
</style>
Code: Select all
<style>
td p {margin-bottom: 5pt; }
</style>
Code: Select all
<table style="width: *;mc-table-style: url('../../Resources/TableStyles/parameters_tablestyle.css');" class="TableStyle-parameters_tablestyle" cellspacing="0">
<col class="TableStyle-parameters_tablestyle-Column-Column1" style="width: 69px;" />
<col class="TableStyle-parameters_tablestyle-Column-Column1" style="width: 801px;" />
<tbody>
<tr class="TableStyle-parameters_tablestyle-Body-Body1">
<td class="TableStyle-parameters_tablestyle-BodyE-Column1-Body1" MadCap:pattern="4" style="background-color: #d3d3d3;">
<p><b>Code</b>
</p>
</td>
<td class="TableStyle-parameters_tablestyle-BodyD-Column1-Body1" MadCap:pattern="4" style="background-color: #d3d3d3;">
<p><b>Description</b>
</p>
</td>
</tr>
<tr class="TableStyle-parameters_tablestyle-Body-Body1">
<td class="TableStyle-parameters_tablestyle-BodyE-Column1-Body1">
<p>200</p>
</td>
<td class="TableStyle-parameters_tablestyle-BodyD-Column1-Body1">
<p>Success; value in the asdf header: 0 - success</p>
</td>
</tr>
<tr class="TableStyle-parameters_tablestyle-Body-Body1">
<td class="TableStyle-parameters_tablestyle-BodyE-Column1-Body1">
<p>400</p>
</td>
<td class="TableStyle-parameters_tablestyle-BodyD-Column1-Body1">
<p>Bad Request; missing or invalid parameters; possible values in the asdfsadf header:</p>
<p>-3 - asdflakjsdflj</p>
<p>-8 - a;lsdjflasdfj</p>
<p>-51 a;sldkfjasdf</p>
</td>
</tr>Code: Select all
<html>
<head>
<style>
td p {margin-bottom: 50pt; background: yellow; }
</style>
</head>
<body>
<table style="width: *;mc-table-style: url('../../Resources/TableStyles/parameters_tablestyle.css');" class="TableStyle-parameters_tablestyle" cellspacing="0">
<col class="TableStyle-parameters_tablestyle-Column-Column1" style="width: 69px;" />
<col class="TableStyle-parameters_tablestyle-Column-Column1" style="width: 801px;" />
<tbody>
<tr class="TableStyle-parameters_tablestyle-Body-Body1">
<td class="TableStyle-parameters_tablestyle-BodyE-Column1-Body1" MadCap:pattern="4" style="background-color: #d3d3d3;">
<p><b>Code</b>
</p>
</td>
<td class="TableStyle-parameters_tablestyle-BodyD-Column1-Body1" MadCap:pattern="4" style="background-color: #d3d3d3;">
<p><b>Description</b>
</p>
</td>
</tr>
<tr class="TableStyle-parameters_tablestyle-Body-Body1">
<td class="TableStyle-parameters_tablestyle-BodyE-Column1-Body1">
<p>200</p>
</td>
<td class="TableStyle-parameters_tablestyle-BodyD-Column1-Body1">
<p>Success; value in the asdf header: 0 - success</p>
</td>
</tr>
<tr class="TableStyle-parameters_tablestyle-Body-Body1">
<td class="TableStyle-parameters_tablestyle-BodyE-Column1-Body1">
<p>400</p>
</td>
<td class="TableStyle-parameters_tablestyle-BodyD-Column1-Body1">
<p>Bad Request; missing or invalid parameters; possible values in the asdfsadf header:</p>
<p>-3 - asdflakjsdflj</p>
<p>-8 - a;lsdjflasdfj</p>
<p>-51 a;sldkfjasdf</p>
</td>
</tr>
</table>
<p> <p> Element outside table</p>
<p>These elements are outside the table so do not have the background color or margin</p>
</body>
</html>
I suspect MEDIUMS are causing the problem. Make sure that little amendment goes into your PRINT medium (or whatever your PDF generation uses) as well as your online medium.Evetsm wrote:...The spacing worked in the HTML but not the PDF...
Steve