HTML表格-复杂的布局-Specificel [英] Html table - Complex layout - specificel

查看:117
本文介绍了HTML表格-复杂的布局-Specificel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在任务中得到了这张桌子,但是我很难复制它:

I got this table in a assignment but I'm have a hard time replicating it:


(来源: evc-cit.info )


(source: evc-cit.info)

我似乎无法让Xpath单元格和XSL转换单元格共享上午11点至下午2点的单元格,有人可以帮我吗?

I can't seem to get the Xpath cell and the XSL transformation cell to share the 11 a.m to 2 p.m cells, can someone help me please?

推荐答案

有点黑,但您可以说上午11:00-下午2:00实际上是两行,而不是一行(每个单元格将是).然后Xpath和XSL转换单元也将为rowspan=2,因为现在有4行. (星期二为rowspan=4)

a little hacky but you could say that 11:00 am - 2:00 pm is actually two rows, not one (each cell would then be a rowspan=2). Then Xpath and XSL transformation cells would also be rowspan=2 as there are 4 rows now. (Tuesday would be rowspan=4)

这篇关于HTML表格-复杂的布局-Specificel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆