I neend to force a page break at a certain point when a document prints

Posted on 2006-04-19
Last Modified: 2011-09-20
.page-break-after: always
doesn't work
Question by:shelbyinfotech
    LVL 12

    Expert Comment

    How are you using the page-break-after style?

    LVL 18

    Accepted Solution

    Maybe you mean something like this:

    .page_break {page-break-after: always;}


    bla bla bla bla
    <div class="page_break"></div>
    bla bla bla
    <div class="page_break"></div>

     and so on...
    LVL 18

    Expert Comment

    Thanks for the grade.

    Author Comment

    You put it so simply as opposed to the egghead manner that so many use. Thanks

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now