• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Style Sheets for Printing > Other Print Specific CSS Properties

Other Print Specific CSS Properties

CSS offers a number of other features that help control how Web pages are printed. Unfortunately, only widows and orphans are supported, and only by Opera. I’ll give you a quick synopsis, nonetheless.

Figure 12.7. Here I’ve defined three types of pages. For left pages, there will be a slightly larger right margin (to allow for binding). For the same reason, right pages will have a slightly larger left margin. The named toc page will have a hefty top margin of 3 inches to set its contents in the middle of the page.

					@page :left {size: 8in 10in; margin: 1in 1in
					.5in .5in; marks: crop cross}
					@page :right {size: 8in 10in; margin: .1in .5in .5in
					1in; marks: crop cross}
					@page toc {size: 8in 10in; margin:3in .5in .5in 1in;
					marks: none}
				


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint