网页教学网
 当前位置: 网页教学网 >> 网页制作 >> CSS技术应用 >> 网页制作学习CSS2的打印属性
[ HTML ] [ FW ] [ DW ] [ FP ] [ JS ] [ XML ] [ CSS ] [ 图象 ] [ FLASH ] [ .NET ] [ ASP ] [ JSP ] [ PHP ] [ 数据 ] [ 系统 ] [ 安全 ] [ 素材 ] [ 建站 ] [ 主机 ] [ 入门 ] [ 技巧 ]

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

http://www.webjx.com  更新日期:2007-09-06 01:44  出处:网页教学网  作者:

打印属性

打印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
关键词:网页制作,CSS
推荐给好友】【关闭】【收藏本文
最新五条评论
查看全部评论
评论总数 0
您的评论
用户名: 新注册) 密 码: 匿名:
·用户发表意见仅代表其个人意见,并且承担一切因发表内容引起的纠纷和责任
·本站管理人员有权在不通知用户的情况下删除不符合规定的评论信息或留做证据
·请客观的评价您所看到的资讯,提倡就事论事,杜绝漫骂和人身攻击等不文明行为
站内搜索
相关文章
推荐文章