When you say you want a line break, are you wanting a page break?
Otherwise, it's difficult to dynamically control print without help from other sources (such as javascript, or server-side script).
You could, for instance, include a classname after so many rows, and from the print style sheet increase the space there.
Code:
<style type='text/css' media='print'>
tr.row td {
padding-bottom: 100px;
}
</style>
And then have some html like this...
Code:
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr>
<td>This is a row</td>
</tr>
<tr class='row'>
<td>This is a row</td>
</tr>
There are two properties that can be used to force a page break, but you'd have to use these with the knowledge that it is futile to try to control the client's print enviornment, unless you have control over it. The client could have different sizes of paper, print in a different orientation, or otherwise influence the variables.
Those properties are page-break-before and page-break-after
http://www.w3.org/TR/2006/WD-CSS21-20060411/page.html
http://msdn.microsoft.com/workshop/a...reakbefore.asp
http://msdn.microsoft.com/workshop/a...breakafter.asp
Those properties are just about the only ones universally supported, and at that with only the "always" or "auto" values.
HTH!
Regards,
Rich
--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results
http://www.catb.org/~esr/faqs/smart-questions.html