Results 1 to 3 of 3

Thread: Equivalent CSS property for page-break-after in safari

  1. #1
    Join Date
    Dec 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Equivalent CSS property for page-break-after in safari

    I have used "page-break-after" CSS property in my PHP script, it works fine in all browsers except safari. Please advise me if there is any equivalent CSS property for Safari browser. I'm in a hurry. Please let me know ASAP

    Note: I have used the page-break property as a style within <BR> tag.
    Last edited by SyedShabeer; 12-02-2010 at 11:12 AM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,998
    Thanks
    16
    Thanked 315 Times in 313 Posts
    Blog Entries
    12

    Default

    Without knowing what you're trying to do exactly, I can only guess that you should look into clearing floats?
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    Safari supposedly supports page-break-after.
    Maybe some of these notes will help?
    Quote Originally Posted by w3schools
    Note: You cannot use this property on absolutely positioned elements.
    Note: Firefox, Chrome, and Safari do not support the property values "avoid", "left", or "right".
    However, according to the css2 spec, page-break-after and related properties are supposed to be applied to block-level elements (though they "may" be applied to anything). <br> is in inline element, so your results may vary (even more than usual, I mean; it seems that no browser completely supports this property).

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
  •