网页制作学习CSS2的打印属性

2008-02-23 08:46:08来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

打印属性

打印HTML文档总是会出现问题。在CSS2中,我们可以借助打印属性让打印web内容更容易一些。

属性 描述 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

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:学习网页中的图片如何应用CSS的滤镜的效果

下一篇:网页制作学习CSS2的听觉参考