w3pop.com :: ÍøÂçѧԺ :: CSS :: CSS2 ´òÓ¡
Printing HTML documents has always been problematic. In CSS2 the print properties are added to make it easier to print from the Web.
´òÓ¡HTMLÎĵµ×ÜÊÇÎÊÌâ²»¶Ï¡£ÔÚCSS2Àï¼ÓÈëÁËprintÊôÐÔʹµÃ´òÓ¡WEBÎĵµ±äµÄÈÝÒ×ÁËЩ¡£
The links in the "Property" column point to more useful information about the specific property.
ÏÂÃæ"ÊôÐÔ"ÁÐÖеÄÁ¬½ÓÓиü¶àÏà¹ØÊôÐÔµÄÓÐÓÃÐÅÏ¢
W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).
W3C£ºÏ±íÖГW3C”×ÝÀ¸ÖеÄÊý×ÖÖ¸Ã÷ÁËÖ§³Ö¸ÃÊôÐÔµÄCSS°æ±¾£¨CSS1»òCSS2£©¡£
| ÊôÐÔ | ÃèÊö | Öµ | W3C |
|---|---|---|---|
| orphans | Sets the minimum number of lines for a paragraph that must be left at the bottom of a page ÉèÖÃÆðÂëµÃÓжàÉÙÊýÁ¿µÄ¶ÎÂäÐÐÁôÔÚÒ³ÃæµÄµ×²¿ |
number | 2 |
| marks | Sets what sort of marks should be rendered outside the page box ÉèÖûò¼ìË÷ʲôÑùµÄ±êÖ¾ÊÇÓ¦¸ÃÔÚÒ³ÈÝÆ÷Íâ±ß±»¸øÓè |
none crop cross |
|
| page | Sets a page type to use when displaying an element ¼ìË÷»òÖ¸¶¨ÏÔʾ¶ÔÏóÈÝÆ÷ʱʹÓõÄÒ³ÃæÀàÐÍ |
auto identifier |
2 |
| page-break-after | Sets the page-breaking behavior after an element ¼ìË÷»òÉèÖöÔÏóºó³öÏÖµÄÒ³·Ö¸î·û |
auto always avoid left right |
2 |
| page-break-before |
Sets the page-breaking behavior before an element |
auto always avoid left right |
2 |
| page-break-inside | Sets the page-breaking behavior inside an element ¼ìË÷»òÉèÖöÔÏóÈÝÆ÷ÖгöÏÖµÄÒ³·Ö¸î·û¡£ |
auto avoid |
2 |
| size | Sets the orientation and size of a page Ò³ÃæµÄ¶¨Î»Óë´óС |
auto portrait landscape |
|
| widows | Sets the minimum number of lines for a paragraph that must be left at the top of a page ¼ìË÷»òÖ¸¶¨Ò»¶¨ÒªÁôÔÚÒ³Ãæ¶¥²¿µÄÐÐÊý |
number | 2 |
ÆÀÂÛ (0)
All