IE11剪切文本 [英] IE11 clipping text

查看:158
本文介绍了IE11剪切文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅在IE11上,某些页面上的文本剪辑,文本包含在具有CSS的< section> 中。注意,这在IE10及以下版本,Chrome和FF,它只有IE11有这个问题。

On IE11 only, text clips on certain pages, the text is contained within a <section> with CSS like so. Note that this works in IE10 and below, Chrome and FF, it is only IE11 that has this issue.

#rightpanel section {
    margin: 0 auto;
    max-width: 900px;
}

如果你看这张照片,文本应该跑到蓝框的边缘。注意,这个突出显示是用IE11 DOM荧光笔应用的。

If you look at this photo, the text should run right to the edge of the blue box. Note that this highlighting is applied with the IE11 DOM highlighter.

推荐答案

这通常是CSS中的语法错误。例如,请参阅:
IE 11剪辑文本

This is often caused by a syntax error in CSS. For example see here: IE 11 clipping text

看看你的CSS中有没有这样的东西。

See if you have something like this anywhere else in your CSS.

这篇关于IE11剪切文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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