当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS2 打印

CSS
CSS 介绍
CSS 语法
使用 CSS
CSS 背景
CSS 文字
CSS 字体
CSS 边框
CSS 边距
CSS 填充
CSS 列表
CSS 尺寸
CSS 类别
CSS 定位
CSS 伪类
CSS 伪元素
CSS2 Media类型
CSS 摘要
CSS 实例
CSS2 参考资料
CSS2 打印

CSS 中的 CSS2 打印


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 682 ::
收藏到网摘: n/a

Print 属性

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

评论 (0) All

登陆 | 还没注册?