DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

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

    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links