This discussion is archived
8 Replies Latest reply: Jul 27, 2013 6:23 AM by vmk RSS

APEX HTML page break

vmk Newbie
Currently Being Moderated

My APEX page consists of multiple HTML regions and SQL reports blended. The user just wants to print it from the web page. Now I want the page to break at specific point. The regions length vary because of some dynamic content in them. I thought i got the solution last month but it is not working. Here is what i have. But it is not working.

 

I replicated a similar thing of the below in apex.oracle.com 

workspace :vmk081201

user: admin

password:password

 

 

 

APEX 4.1

Theme 24

Page Template - Printer Friendly

Region Template - No Template

 

I gave one of the regions a static id as "region-3" (no quotes)

 

Page HTML header

 

<style type="text/css">

@media print {

  #region-3 {

    page-break-before: always

  }

  #region-3 {

    page-break-after: always

  }

}

</style>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points