IE7中的CSS倾斜变换

时间:2013-02-13 09:36:28

标签: css internet-explorer css3 internet-explorer-7 css-transforms

我正在尝试使用CSS来标记表的标题。 它在IE9中工作正常,但在IE7中,标题是倾斜的,但是被剪裁了。

这是小提琴 http://jsfiddle.net/sWVrM/3/

以下是代码:

HTML:

<table>
    <thead>
        <tr>
            <th><p>ABD</p></th>
            <th><p>QWE</p></th>
        </tr>
    </thead>
</table>

CSS:

table thead tr th {
    background: #ebf6fe;
    overflow: hidden;
    padding: 0.5em;
    white-space: nowrap;
    display: block;
    outline: 2px solid;
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=-0.9999999999999977, M21=0, M22=1, SizingMethod='auto expand');
}

table thead tr th p {
    writing-mode: tb-rl;
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand');
    background-color: #ebf6fe;
}

我尝试过设置宽度,最小宽度,添加填充......但没有任何效果!

此外,大纲不会出现偏差。如果有人知道怎么做那就太好了!

0 个答案:

没有答案
相关问题