Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Workaround for page-break-inside solution for FF

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #240730
    colettemr
    Participant

    Has anyone found a work around for a page-break-inside within Firefox. I am using a pdf generator and I am aware that page-break-inside is not supported. The length of the content is dynamic. The structure is css and usings divs and not tables.

    I have tried changing the display to inline and inline-block.

    #240732
    bearhead
    Participant

    It looks like page-break-inside is supported in Firefox:
    http://caniuse.com/#search=page-break
    http://www.w3schools.com/cssref/pr_print_pagebi.asp

    Is it possible to demo the problem?

    #240733
    colettemr
    Participant

    Unfortunately bearhead, it is behind a secured server. There is more dynamic variables than simple html for me to mock it up. Imagine a pdf generated page with a list of feedback questions and their answers. All cascading with divs. The main section we have where it forces the page-break-before:always which is supported by FF but not the inside. Therefore, the inner div’s that are looping do not go to the next page.

    #240766
    bearhead
    Participant

    Without a demo I can’t really help much :|

    I’m still confused about your problem though… as far as I know (and tested) page-break-inside is supported by firefox.

    If you’re trying to do page-break-inside:always, it won’t work in any browser because that syntax doesn’t exist. You can only do page-break-inside:auto or page-break-inside:avoid

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.