html标准模式的写法,HTML:IE9标准模式在每个页面上打印TFOOT

HTML中的表可以有“页脚”:

Your header goes here

Your footer goes here

Page body in here -- as long as it needs to be

table-footer-group

Object is rendered as 07001. Table footer is always displayed

after all other rows and row groups,and before any bottom captions.

The footer is displayed on each page spanned by a table.

将表尾页组作为样式添加到TFOOT会导致它(在Internet Explorer中)打印在表所跨越的每个页面的底部:

tfoot { display: table-footer-group; }

但是如果IE9(候选版本)被置于标准模式:

然后TFOOT不再呈现在跨越表的每个页面的底部,而是仅在整个表的末尾.

我检查了the HTML spec以查看正确的行为是什么,并且它未定义!:

table-footer-group (In HTML: TFOOT)

Like ‘table-row-group’,but for visual

formatting,the row group is always

displayed after all other rows and row

groups and before any bottom captions.

Print user agents may repeat footer

rows on each page spanned by a table.

If a table contains multiple elements

with ‘display: table-footer-group’,

only the first is rendered as a

footer; the others are treated as if

they had ‘display: table-row-group’.

注意:强调增加了效果.

IE9标准模式中有没有办法让我选择在每个页面底部打印TFOOT?

更新一

有趣的是,table-footer-group是TFOOT元素的典型默认值,但在以前版本的IE中,您可以选择所需的行为:

>整个表的底部

>整个表格和每个中间页面的底部

选择包括风格.

更新二

现在我正在强迫Internet Explorer保持IE8标准模式:

也可以看看

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值