Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • page-break-inside is not supported by most broswers, only Opera has full support for it. Commented Jul 5, 2011 at 17:11
  • Thanks, I hadn't noticed the SO article you are referring to before posting, but I seem to have got better answers anyway :) Will try page-break-before: auto and see if it helps. Commented Jul 6, 2011 at 7:43
  • page-break-inside: avoid actually works for IE 8 and IE 9 in IE 8 compatibility mode. Unfortunately I'm trying to get it to work in a WebBrowser control embedded in FileMaker Pro (what FileMaker calls a Web Viewer) and not IE directly. This seems to work when IE 8 is installed, but not when IE 9 is installed :( Of course it also does not work for earlier versions of Internet Explorer. Commented Jul 6, 2011 at 17:05
  • In Chrome it seems page-break-inside only works with "block" elements. A workaround could be to use a <div> inside each cell with that css property, o apply a "display:block; page-break-inside:avoid" on some inside element of cell (if you try that last one on TR, it messes around with table layout). Commented Sep 11, 2013 at 13:55
  • 1
    As of 2016, this should now work in recent browsers. Mozilla Developer Network claims "basic support" starting with Chrome 1.0, Firefox 19, IE 8.0, Opera 7.0, and Safari 1.3. (developer.mozilla.org/en-US/docs/Web/CSS/page-break-inside) It works fine for me in recent Firefox. Commented Sep 26, 2016 at 16:02