?
This document uses PHP Chinese website manual Release
page-break-inside:auto | avoid
默認值:auto
適用于:所有元素
繼承性:無
動畫性:否
計算值:指定值
媒體:頁面
auto:如果需要,在當前對象內(nèi)部插入頁分割符
avoid:避免在當前對象內(nèi)部插入頁分割符
對應(yīng)的腳本特性為pageBreakInside。
Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|---|
Basic Support | 6.0+ | 2.0+ | 4.0+ | 6.0 | 15.0+ | 6.0+ | 2.1+ | 18.0+ |
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="utf-8" /> <title>page-break-inside_CSS參考手冊_web前端開發(fā)參考手冊系列</title> <meta name="author" content="Joy Du(飄零霧雨), dooyoe@gmail.com, www.doyoe.com" /> <style> p{page-break-inside:auto;} </style> </head> <body> <div>如果需要,在對象內(nèi)部插入頁分割符</div> <p>page-break-inside:auto</p> <p>page-break-inside:auto</p> <p>page-break-inside:auto</p> <p>page-break-inside:auto</p> </body> </html>
點擊 "運行實例" 按鈕查看在線實例