w3pop.com :: ÍøÂçѧԺ :: CSS :: CSS page-break-beforeÊôÐÔ
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 |
| Öµ | ÃèÊö |
|---|---|
| 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