1.

Which of the following will take care of breaks behind an element?(a) page-break-before(b) page-break-inside(c) page-break-after(d) page-break-intoThe question was posed to me in a job interview.My query is from Print Styles and their Development topic in division Layout & Images of CSS

Answer»

Correct option is (c) page-break-after

To explain: There are three CSS attributes page-break before, page-break-after and page-break-inside that ALLOW us to decide exactly where a print page will be BROKEN. AMONG other things, this will prevent images from being broken into two PIECES.



Discussion

No Comment Found

Related InterviewSolutions