网络学院

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

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

CSS page-break-inside属性


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

The page-break-inside property sets the page-breaking behavior inside an element.
page-break-inside属性可设置元素容器中出现的页分割符

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
继承性:无

举例

p

page-break-inside: avoid
}

可用值

评论 (0) All

描述
auto Insert a page break inside the element if necessary
假如需要在对象容器中插入页分割符