Avoiding Page Breaks within HTML Tables

Does anyone know if there is a way to get the html page break rules to work.

I have followed them for many years, but they never seem to do anything.

I have an html table within an html field on my output page that i want to print.

I have the following in my style sheet.

{
	page-break-inside: avoid
}

tr
{
page-break-inside: avoid
}

But they seem to do nothing for stopping the table breaking over a page.

Am i right in thinking these commands are actually vapourware!?

David

H David,

dpearce:
Am i right in thinking these commands are actually vapourware!?

In the CSS 2/3 spec ? No.
In the Sun render engine ? Quite possibly.

David,

I have a plugin that updates Servoy’s CSS rendering to CSS 2.1/3 and renders XHTML 1.0 strict in place of HTML 3.2. It has its own built in print preview that honors tags like the one you are using. You can find it here: http://www.omnesoft.com/index.php/site/product/8

Hope it helps.

Jeff,

Many thanks this plugin is absolutely tremendous. i have been working on this solution for 10 years, first on filemaker and now in Servoy.

For anyone trying to control the output of a document and build a document from a set of menus or choices and then lay it out in an extremely professional and controlled fashion. This plugin really is the business in achieving that quality output.

It handles the table and text cut-off perfectly and also allows page breaks to be forced at will.

Great Job.

Thanks

David

thanks for the accolades David! glad you are finding the plugin useful.