IE7正在剪切我的文本。如何调整其态度? [英] IE7 is clipping my text. How do I adjust its attitude?

查看:87
本文介绍了IE7正在剪切我的文本。如何调整其态度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前几天我重新换了我的网站。这种皮肤的发展主要是使用safari,并如预期,这一切都使用firefox和歌剧。我不得不对IE7做一些小的调整,但没有什么,除了一个问题...

A few days ago I re-skinned my website. Development of this skin was primarily done using safari, and as expected, it all renders fine using firefox and opera. I've had to make a few small tweaks for IE7, but nothing much, except for one problem...

一个帖子的日期指示符在IE中被截断。这个问题似乎只发生在左浮点div内嵌套的span标签上。我想我需要浮动div,以便在屏幕的左侧和右侧布局文本。

The date indicators for a post are cut off in IE. This problem seems to occur only on nested span tags inside a left floating div. I think I need the floating div's in order to layout text on the left and the right side of the screen.

任何人都知道如何阻止IE7剪辑我的文本?

Do any of you know how to stop IE7 from clipping my text?

编辑:我已经放弃了这个问题。我的脚本现在检查IE7和饲料它有限的引擎可以处理的一些简化的HTML。它在IE8工作,所以,现在,只是IE7的特殊情况下必须做...

I have sort of given up on this problem. My scripts now check for IE7 and feed it somewhat simplified HTML that its limited engine can handle. It works in IE8, so, for now, just the special case for IE7 will have to do...

推荐答案

IE6或7剪切文本底部的情况,只需添加:

In most cases where IE6 or 7 clips off the bottom of text, just add:

line-height: normal;

。应该很好地解决它,但你会明白,它也扩大了盒子。

to the CSS rules concerned. Should fix it nicely, but as you'll understand, it expands the box too.

这篇关于IE7正在剪切我的文本。如何调整其态度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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