Join Chris Converse for an in-depth discussion in this video Setting page breaks with CSS, part of Creating a Responsive Web Design.
- So now that we've completed our print rules…let's go up to the File menu…and let's come down and choose Print.…Most web browsers will have some sort…of print preview so you can get a sense…of what the page will look like,…and if you're in the final phases of your design…I would definitely recommend printing out a few pages,…especially to do things like test a QR code.…And within my print preview I can see all of the content…fitting on a portait page.…And now I'll come over here and change the orientation.…So now I can see in landscape view,…I can see part of the How To section…and if I go to page two I can see the rest of that section.…
So there are some page-break rules we can put into…our CSS to tell the browser which sections of content…we would like to keep together if it's at all possible.…So I'll cancel out of that print dialog box,…let's go back to the CSS,…and I'm going to scroll up…until I find the section.how-to rule.…So we'll set a property in here to ask the browsers…to avoid breaking the How To section,…
The exercise files for this course are free to all members. Download them and start creating your own responsive websites today.
- Planning your layout
- Creating HTML containers, content, and links
- Creating and styling the layout with CSS
- Creating a menu system
- Styling headings, body text, and footers
- Styling and repositioning navigation links
- Swapping high-resolution graphics for Retina displays
- Making sure content is printable
Skill Level Beginner
Building a Responsive Portfolio Sitewith Justin Seeley1h 47m Intermediate
Design the Web: Responsive SVG Imageswith Chris Converse22m 50s Beginner
Building a Responsive Single-Page Design with Sasswith Ray Villalobos4h 55m Intermediate
Creating a Responsive Presentation in HTML5with Justin Putney1h 25m Intermediate
1. Preparing the HTML Content and Structure
2. Creating the Style and Layout with CSS
3. Creating a Menu System with CSS
4. Making Layout Adjustments for Large and Medium Screens
5. Making Adjustments for Small Screens
6. Making Adjustments for the Smallest Screens
7. Making Layout and Content Adjustments for Print
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.