0

I am creating a large html table consists of 3 cols when first page is full ,rest of the table content going to the next page but it is starting at the top of the page and ending at very bottom page I am unable to get top margin space in second page when content is going to second page.

1 Answers1

0

If I'm gettig what you're saying then your html looks something like that:

<table>
    <tr>
        <td></td>
        <td></td>
        <td></td>
    </tr>
</table>

<-!---if that's the case you could add padding to the third column like that:-->
<style>

table tr td:nth-child(3){
padding: 0.3rem 0
}
</style>

More options that might be helpful-

Creating Tables with DIV tags

HTML table needs spacing between columns

CSS gap space with flexbox

kricheli
  • 1
  • 1