Results 1 to 2 of 2

Thread: page-break-after only working in Opera.

  1. #1
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default page-break-after only working in Opera.

    Hi all,

    I'm trying to make use of page-break-after for printing, but the ONLY browser that is applying the page break is Opera (9.6). IE6, Firefox 3, Safari 3, and Chrome 1 all ignore the page break.

    Here is the page in question:

    http://tinyurl.com/pkwcsr

    Please note that this page is using live inventory from a car dealer so the number of results that you see on this page will decrease over time.

    If you use the Web Developer Toolbar in Firefox to set the CSS display type to print, you will see a little DIV under every third column that says "The page should break after this DIV. WORK DAMN YOU!!". If you inspect this element with Firebug, you will see that it indeed has the "page-break-after" property.

    So Firefox is definitely seeing the page break, but is choosing to ignore it. This makes me think that there is something wrong with my implementation, but I'm totally in the dark as to what. I have also tried using page-break-before, as well as both properties combined, only to get the same result.

    Any help would be greatly appreciated. This is the most frustrating thing I've dealt with in a while.
    My site: FreshCut :)

  2. #2
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What element are you applying the style to? Maybe that is the problem?

    Can you upload the css file please and or at least quote all the code so I can look

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
  •