Results 1 to 2 of 2
  1. #1

    Member Since
    Feb 02, 2007
    style="page-break-before:always not working
    I created a web page that is meant to be printed. It consists of a series of tables with page breaks between the tables. My code works perfect on IE on a PC and the pages break where they should. However, on Safari on OS X the page breaks aren't working. I've done some research and as far as I can tell this should work on Safari. Here is the line of code that should be doing the page break.

    <p style="page-break-before:always;">a</p>

    Earlier in my code I included:
    <style type="text/css">

    Does anyone have any pointers on how I can get the page break working?


  2. #2

    Member Since
    Feb 02, 2007
    This is what fixed it.
    What I ended up using was @media screen and @media print. The page breaks only apply to print, not the screen and I needed to specify that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I add a page break to a paragraph style?
    By Ian433 in forum OS X - Apps and Games
    Replies: 0
    Last Post: 12-20-2013, 04:59 AM
  2. How do I set "insert page break after" as a style feature in Word?
    By mac2390 in forum OS X - Apps and Games
    Replies: 0
    Last Post: 09-22-2013, 04:31 PM
  3. new to mac can u change internet page style?
    By jerzeyzfynesy in forum OS X - Operating System
    Replies: 2
    Last Post: 02-21-2012, 05:03 AM
  4. Page Break on Wordpress Blog
    By Christopher in forum Web Design and Hosting
    Replies: 4
    Last Post: 06-24-2011, 02:37 PM
  5. Pages: Next page, different style?
    By Ghostshadow in forum OS X - Apps and Games
    Replies: 0
    Last Post: 02-24-2007, 12:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts