#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    15

    page breaks on printer friendly pages


    Ive designed a printer friendly page for my website. The page opens up in a seperate window and has directions for two different places. What i would like to know, is there away of page breaking for when the page is printed. I would like one site printed on one page and another site printed on a second page, but the text to flow without breaks on the webpage. Im pretty sure this can be done using css although im not sure how to do it. Is there away of doing it using html?

    Thanks in advance,

    cuban
    I came to bring the rain!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    173
    Rep Power
    16
    If you have two headers, or some other elements you want to use to signify a page break start.. you could add page-break-after:always; to the css code for the element.

    inline, or externally, or embedded.. either way you get a page break.

    Here, this url explains it pretty well:
    http://www.htmlgoodies.com/beyond/css_print.html
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    15
    briliant! many thanks
    I came to bring the rain!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    173
    Rep Power
    16
    no problem

IMN logo majestic logo threadwatch logo seochat tools logo