print a block on the same page

Discussion in 'CSS' started by d2clon, Apr 17, 2006.

  1. #1
    hi people:

    i was looking for some html or css element that say to the printer that one block will be printed on the same page.

    i mean: if there is not space sufficient for print the actual block on the actual page will be to the next page to print it all of it on the same page.

    sugestions?

    thanx
     
    d2clon, Apr 17, 2006 IP
  2. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    CSS:

    page-break-inside: avoid;
     
    FeelLikeANut, Apr 17, 2006 IP
  3. penagate

    penagate Guest

    Messages:
    277
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    penagate, Apr 18, 2006 IP
  4. d2clon

    d2clon Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    very well..
    them i'll force to use opera 8.5 to every users.. :)

    i'm kidding..

    thanks a lot.
    d2.
     
    d2clon, Apr 18, 2006 IP
  5. d2clon

    d2clon Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i allways can to mark all the elements inside the element that i don't want to be broken into peaces with:
    page-break-after:avoid;

    i dont know i go to try

    thanks
    d2
     
    d2clon, Apr 18, 2006 IP