Css – alternative to page-break-inside:avoid because of compatibility issues

cross-browsercssprinting

I have a php file with 's and the things in the div should stay on one page,
for this possebillity i found this:

http://www.w3schools.com/css/pr_print_pagebi.asp

However like you can see its only compatible with opera and nothing more.
I dont want to demand my users to use opera so I was wondering if there was a alternative to the "page-break-inside:avoid".

Thanks
Matthy

Best Solution

Support for print specific CSS is pretty crappy. Have a look at the CSS discuss Wiki for an extensive guide (it also has a link to a browser support compatibility table). I have had some success with page-break-before: always when I was playing around with this sort of thing a few weeks back - as long as your div is less than a page long you may be able to just force a page break before it?