0

我目前正在制作一个带有 html 和 css 的响应式表格。我让它在除 IE 之外的所有浏览器中都能正常工作,这是 IE 的任何版本,包括 10。我只需要它在 IE 8,9 和 10 上工作。

表中的 TD 在所有浏览器中都是 100% 的高度,但 TD 中的活动链接在 IE 中不起作用。如果你看到下面的 js fiddle 你可以看到当天的背景颜色应该填充 TD 而它在 IE 中没有。有谁知道如何解决这一问题?任何帮助深表感谢。下面是 js fiddle、表格样式和表格 td 中的活动链接的链接

.compact_month_view {
    background-color: white;
    border-collapse: collapse;
    height: 100%;
    position: relative;
    table-layout: fixed;
}

.day_cell a {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #CCCCCC;
    display: inline-table;
    height: 100%;
    line-height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

http://jsfiddle.net/LtHFK/

4

1 回答 1

0

为 td 提供高度 - .compact_month_view td

于 2013-01-28T12:26:07.690 回答