inline style and page-break-after

  • Thread starter Thread starter HipHopper
  • Start date Start date
H

HipHopper

Hi,
I have a style sheet
#MainBody .FormSection {
padding-top: 10px;
border: none;
page-break-after:always;
}

and a page
.....
<tr>
<td class="FormSection"> Some info here </td>
</tr>



I tried to force page break, but "page-break-after:always' did not work if I
put it into inline style, however, it works if I move
"page-break-after:always" from style sheet and added after the class
i.e.
<tr>
<td class="FormSection" Style="page-break-after: always"> Some info
here </td>
</tr>

Any idea? Appreciated.




HipHopper
 
I have a style sheet
#MainBody .FormSection {
padding-top: 10px;
border: none;
page-break-after:always;
}

and a page
....
<tr>
<td class="FormSection"> Some info here </td>
</tr>

I tried to force page break, but "page-break-after:always' did not work if
I
put it into inline style, however, it works if I move
"page-break-after:always" from style sheet and added after the class
i.e.
<tr>
<td class="FormSection" Style="page-break-after: always"> Some info
here </td>
</tr>

Any idea? Appreciated.

page-break-after:always !Important;

Is .FormSection absolutely positioned?

John
 
Back
Top