Page Breaks in HTML


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Page Breaks in HTML

Hybrid View

  1. #1
    Scott Guest

    Page Breaks in HTML


    Is there any way to issue a page break in HTML. I have a report currently
    that breaks a new page before printing each client. When viewing the user
    sees no page breaks. Is there a way to keep that same funtionality when
    I move this report to the web? I don't care right now about seeing or not
    seeing that page break on the screen, but I would like the page break for
    printing.

    Scott

  2. #2
    drexan Guest

    Re: Page Breaks in HTML


    Scott,

    Microsoft has a sample code for forcing page breaks. I would assume that
    the code will work only in IE. Who knows it might work in NN. Let me know.
    The link is http://support.microsoft.com/default...EN-US;q272445.

    - drexan


    "Scott" <srr@gksys.com> wrote:
    >
    >Is there any way to issue a page break in HTML. I have a report currently
    >that breaks a new page before printing each client. When viewing the user
    >sees no page breaks. Is there a way to keep that same funtionality when
    >I move this report to the web? I don't care right now about seeing or not
    >seeing that page break on the screen, but I would like the page break for
    >printing.
    >
    >Scott



  3. #3
    drexan Guest

    Re: Page Breaks in HTML


    Scott,

    If the link doesn't work, here is the sample code:

    <p>Page 1</p>
    <br clear="all" style="page-break-before:always">
    <p>Page 2</p>

    - drexan

    "drexan" <drexan@usa.net> wrote:
    >
    >Scott,
    >
    > Microsoft has a sample code for forcing page breaks. I would assume that
    >the code will work only in IE. Who knows it might work in NN. Let me know.
    > The link is http://support.microsoft.com/default...EN-US;q272445.
    >
    >- drexan
    >
    >
    >"Scott" <srr@gksys.com> wrote:
    >>
    >>Is there any way to issue a page break in HTML. I have a report currently
    >>that breaks a new page before printing each client. When viewing the user
    >>sees no page breaks. Is there a way to keep that same funtionality when
    >>I move this report to the web? I don't care right now about seeing or

    not
    >>seeing that page break on the screen, but I would like the page break for
    >>printing.
    >>
    >>Scott

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center