ÍøÂçѧԺ

w3pop.com :: ÍøÂçѧԺ :: CSS :: CSS page-break-beforeÊôÐÔ

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

CSS page-break-beforeÊôÐÔ


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ä¯ÀÀ:3511 :: ::

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