Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APEX HTML page break

vmkJul 25 2013 — edited Jul 27 2013

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>

This post has been answered by flavioc on Jul 26 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2013
Added on Jul 25 2013
8 comments
1,417 views