当前位置:首页 > 设计在线 > 网页设计 > CSS/Xhtml > 网页制作学习CSS2的打印属性

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

点击次数:29 次 发布日期:2008-11-26 22:50:05 作者:源代码网
源代码网推荐

打印属性

打印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

源代码网供稿.
网友评论 (0)
会员中心
设计在线
本站推荐
设计在线之精华