网络学院

w3pop.com :: 网络学院 :: CSS :: CSS page-break-before属性

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

CSS page-break-before属性


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-28 浏览:3381 :: ::

The page-break-before property sets the page-breaking behavior before an element.
设置在元素前出现的页分割符。

Note: You can not use this property on absolutely positioned elements.
注意:不可以在绝对定位元素上使用这个属性

Note: Use the page-breaking properties as few times as possible and avoid page-breaking properties inside tables, floating elements, and block elements with borders.
注意:尽可能少用page-breaking属性,在表格, 浮动元素, 以及带边框的块级元素上则避免使用。

Inherited: No
继承性:无

举例

table

page-break-before: always
}

可用值

描述
auto Insert a page break before the element if necessary
假如需要在对象之前插入页分割符
always Insert a page break before the element
始终在对象之前插入页分割符
avoid Avoid inserting a page break before the element
避免在对象之前插入页分割符
left Insert page breaks before the element until it reaches a blank left page
在对象之前插入页分割符直到它到达一个空白的左页边
right Insert page breaks before the element until it reaches a blank right page
在对象之前插入页分割符直到它到达一个空白的右页边

评论 (0) All