From the course: CSS: Print Style Sheets

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Setting printing page breaks

Setting printing page breaks - CSS Tutorial

From the course: CSS: Print Style Sheets

Start my 1-month free trial

Setting printing page breaks

- [Instructor] Let's start by examining the various kinds of page breaks that are available to us as well as the break properties. Remember page break properties like before and after and inside are all part of the page media spec. They're all for print, and the break properties can be used for columns as well as for pages. And so we're going to switch to a different example for this chapter. You'll recognize this from the challenge at the end of chapter two. This is the Red30 website, and this is the way it looks right now on screen. If we take a look at this on print real quick, you'll see this is the way it's looking here inside of Chrome. Very nice; I've hidden the picture here, and as you scroll down, we have this "Careers in Artificial Intelligence" right now. That is a box and that box is breaking across this page break, and we probably would like to have that box all on one page or another. So we might give some…

Contents