Chrome文字问题:某些文字显示为midex

时间:2015-02-04 12:53:58

标签: html css asp.net-mvc google-chrome text

Chrome浏览器中的文字有问题。 一些文字显示混合。

  

代码中的简短样本

Css :
table.responsive { margin-bottom: 0; }

.pinned {
    position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden;
    overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
.pinned table { border-right: none; border-left: none; width: 100%; }
.pinned table th, .pinned table td { white-space: nowrap; }
.pinned td:last-child { border-bottom: 0; }

div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; }
div.table-wrapper div.scrollable table { margin-left: 35%; }
div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }  

@media screen and (max-width: 960px) {

    table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; }
    table.responsive th:first-child, table.responsive td:first-child,
    table.responsive td:first-child, table.responsive.pinned td { display: none; }

}

  <table class="table responsive">
        <tr>
            <td>Kampanya Adı:</td>
            <td>@Model.Ad</td>
        </tr>
        <tr>
            <td><label>Kampanya Açıklaması :</label></td>
            <td>
                <div class="word-breaktxt">@Model.Aciklama</div>
            </td>
        </tr>
</table>

enter image description here

有些表格设计,但有些文字显示不好。

0 个答案:

没有答案