inline style and page-break-after

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
 
J

JM

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top