当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS2 打印
Printing HTML documents has always been problematic. In CSS2 the print properties are added to make it easier to print from the Web.
打印HTML文档总是问题不断。在CSS2里加入了print属性使得打印WEB文档变的容易了些。
The links in the "Property" column point to more useful information about the specific property.
下面"属性"列中的连接有更多相关属性的有用信息
W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).
W3C:下表中“W3C”纵栏中的数字指明了支持该属性的CSS版本(CSS1或CSS2)。
属性 | 描述 | 值 | W3C |
---|---|---|---|
orphans | Sets the minimum number of lines for a paragraph that must be left at the bottom of a page 设置起码得有多少数量的段落行留在页面的底部 | number | 2 |
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 | 2 |
page-break-after | Sets the page-breaking behavior after an element 检索或设置对象后出现的页分割符 | auto always avoid left right | 2 |
page-break-before | Sets the page-breaking behavior before an element | auto always avoid left right | 2 |
page-break-inside | Sets the page-breaking behavior inside an element 检索或设置对象容器中出现的页分割符。 | auto avoid | 2 |
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 | 2 |