用户名: 密码: 验证码:           网站地图 高级搜索 RSS订阅 收藏本站
Google
您的位置:首页>>图形设计>>CSS>>阅读资讯:学习CSS2的打印属性

学习CSS2的打印属性

[ 来源: | 阅读:次 | 更新日期:2007-9-6 23:51:16 | 评论 0 条 | 我要投稿 ]

打印属性

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

yueluo.net

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

字串9

  • 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

Tags:CSS2,打印属性
责任编辑:
您的评论
用户名:新注册) 密码: 匿名评论 [所有评论]

·用户发表意见仅代表其个人意见,并且承担一切因发表内容引起的纠纷和责任
·本站管理人员有权在不通知用户的情况下删除不符合规定的评论信息或留做证据
·请客观的评价您所看到的资讯,提倡就事论事,杜绝漫骂和人身攻击等不文明行为