
Save As hchavez27-Lastname-Firstname.css to the web project2 folder on your Class disk.Switch to your text editor and open, if necessary, the currentĮxternal style sheet, hchavez24-Lastname-Firstname.css.Yes, I could have avoided this minor aggravation but you need to experience why inline styles can be a bad idea. You may have to move some inline styles to your internal style sheet. Keep in mind that whatever changes you make with an print or style, an inline style will override those. YouĬan even remove backgrounds so that they can't print even if the browser A print-out usually looks better without a border. Hiding or resizing sections of a page is a common task for an print style section. Switch to your browser and edit the address bar to show.Save As hector27-Lastname-Firstname.htm to the web project2 folder on your Class disk.If necessary, open hector26-Lastname-Firstname.htm in Notepad.You need to do that anyway to fix the wasted space down the Since there is only a small amount to text to rescue, you can adjust the margins. Want part of your text to be hidden in a print-out even if it does not show in the browser window. The only issue that really requires fixing is what happened to My Job. All printed the table's caption directly over the photos, where it is very hard to read.In the illustrations above, IE split the soccer ball image between pages. Any or all may print part of an image on one page and the rest on the next page.IE does not show a background for the table so it is very hard to read on top of the photos.That 80% width is applied to the area within the existing margins for the Remember that the #pagecontents style has a width of 80% as part of centering the contents in theīrowser window. All show the photos sticking out past the navy border ofĪ lot of white space down the sides.All it does is give you a hint that there was text that does not show in print. IE andĬhrome even print the scroll bar, which is useless on paper. All cut off the text in the My Job section.What issues do you see in your browser? There may be several! View the print preview of Hector's page.

If necessary, open the current version of Hector's page in your browser.

Different browsers handle some issuesĪutomatically, but differently. So, once again, you cannot control the whole process Page Setup is controlled by the viewer, not by you. Will your viewers use? Letter size (8.5" x 11") is standard in the USAīut other parts of the world primarily use A4 paper (10 x 297 mm) which is about 8.27" × 11.69". Start with:, hector26-Lastname-Firstname.htmĬontrolling what shows on the screen does not always result in a nice To add a page break in internal style sheet To use in external style sheet to control print-out To view your web page in Print Preview and evaluate Need to be different for print, print would keep a table from starting on one page and finishing on another, but only if the table will actually fit on one sheet of paper. How it works: In your style sheet (internal or external), add a section at the end to hold styles that There are several other types, including screen. Or, maybe you need to hide parts of the page that are not useful in print, like menus or ads.

Or, perhaps you need to rearrange parts of the page to fit better on paper. You can pick fonts and font sizes that work better when printing than they do on screen.

Styles that you want to apply only when printing go into a print section of your internal or external style sheet. You can use two special style sections, print and print CSS lets you create different styles that apply only when printing. Or perhaps you need to rearrange parts of the page for it to print neatly. Jan's Working with the Web Format for Print: to screen display issues may cause problems in the print-out of the page.
