0

我的主文件中有以下元标记

<meta http-equiv="X-UA-Compatible" content="IE=8" />

一切都很好,直到我创建了一个滚动的 div,代码在底部。该网站有效,但滚动 div 无效。删除元标记,滚动条看起来很棒,但网站不再这样做。

我们在内部使用 ie-8,没有任何升级的机会。

这里的任何帮助将不胜感激。

        body { margin:0; padding:0; }

        .configContent 
        {
            margin:0; padding:0;
            height: 100%;
            width: 100%;
        }

        .probesCT1  
        {
            width: 150px; 
            float:left;
            display: inline-table;
            background-color: lightsteelblue;
            }

        .probesCT2 { 

            height: 100%;
            float:left;
            display: inline-table;
            }

        .probesCT3 { 

            height: 30px;
            float:left;
            display: inline-table;
            }

        .pTbl  
        {
            overflow: auto; 
            height: 500px; 
            white-space: nowrap; 
            width:100%;
            }

        .pTbl2
        {
            overflow: hidden; 
            white-space: nowrap; 
            width:100%;
            height:30px;
            }

        .pRowHead
        {
            display:inline;
        }
    <div class="configContent" style=' background: steelblue;'>
        <div class="probesCT1">
            Guided Nav Item List
        </div>

        <div class="probesCT2" style='background: grey;'>
            <div class="pTbl2">
                <div class='pRowHead'>Head 1</div>
                <div class='pRowHead'>Head 2</div>
                <div class='pRowHead'>Head 3</div>
                <div class='pRowHead'>Head 4</div>
                <div class='pRowHead'>Head 5</div>
                <div class='pRowHead'>Head 1</div>
            </div>

            <div class='pTbl' style='background: green;'>
                <div class='pRow'>1st para in pTbl</div>
                <div class='pRow'>some data that is really really long dfljkdhf glkjsdfghlskjdfhg slkjdfhglskjdfhglsk jd fhgslkjdfhg lksjdfhgskljdfhglsk jdfhg slkjdfh g lksjdfhglksjdfh slkjhfg lksjdhfg lksjdfhg lskdjhfglskdjhf glskdjhfg lsdfhg</div>
                <div class='pRow'>some data</div>
                <div class='pRow'>some data</div>

            </div>
        </div>
    </div>
4

1 回答 1

-2

尝试将您的 http-equiv 设置为“Content-Type”并且字符集等于 UTF-8

<meta http-equiv="Content-Type" content="IE8; charset=UTF-8" />
于 2013-07-01T04:58:35.407 回答