I have a bibliography implemented as an XHTML <dl> list. The symbolic name of each item is the <dt> and the bibliography data is in the <dd>.
I have the <dt> floating to the left to emulate the traditional BibTeX look. This works fine except when the one-line <dt> fits at the end of a page but the multiline <dd> does not.
Screenshot: http://hsivonen.iki.fi/screen/prince-float-page-break.png
The style looks like this:
dl.references dt {
float: left;
}
dl.references dd {
margin-left: 8em;
margin-bottom: 1em;
}
Adding page-break-after: avoid; to the <dt> has no effect. Adding page-break-before: avoid; to the <dd> makes Prince exhibit exceedingly weird and unacceptable page breaking behavior with occasionally only a single <dd> or <dt> appearing on a page.
Is there a way to force the floating <dt> onto the next page when Prince decides put the <dd> on the next page?
I have the <dt> floating to the left to emulate the traditional BibTeX look. This works fine except when the one-line <dt> fits at the end of a page but the multiline <dd> does not.
Screenshot: http://hsivonen.iki.fi/screen/prince-float-page-break.png
The style looks like this:
dl.references dt {
float: left;
}
dl.references dd {
margin-left: 8em;
margin-bottom: 1em;
}
Adding page-break-after: avoid; to the <dt> has no effect. Adding page-break-before: avoid; to the <dd> makes Prince exhibit exceedingly weird and unacceptable page breaking behavior with occasionally only a single <dd> or <dt> appearing on a page.
Is there a way to force the floating <dt> onto the next page when Prince decides put the <dd> on the next page?