About the Blog:

This blog is dedicated to all the front-end and UI developers who wants to excel their skills in CSS, HTML, JavaScript, jQuery, Ajax, Reactjs, Angularjs, Front-end standards and in Rich User Experiences. In this blog, we are sharing some useful tips and tricks along with the code snippet examples which will help you to build responsive and user friendly websites/web applications.

Friday, October 26, 2007

Print Using CSS

Printing HTML documents has always been problematic. In CSS2 the print properties are added to make it easier to print from the Web.





































Property



Description



Values



orphans



Sets the
minimum number of lines for a paragraph that must be left at the bottom of a
page



number



marks



Sets what
sort of marks should be rendered outside the page box



None, crop
,cross



page



Sets a
page type to use when displaying an element



Auto ,identifier



page-break-after



Sets the
page-breaking behavior after an element



Auto ,always,
avoid, left, right



page-break-before



Sets the page-breaking
behavior before an element



Auto, always,
avoid, left, right



page-break-inside



Sets the
page-breaking behavior inside an element



Auto, avoid



size



Sets the
orientation and size of a page



Auto, portrait,
landscape



widows



Sets the
minimum number of lines for a paragraph that must be left at the top of a
page



number


No comments: