嘿家伙只是得到了一些文字,我想知道为什么在某些决议时,当我缩小和放大浏览器不在同一个地方。它主要发生在Firefox。文字不停留在相同的位置
<div class = "hello">
<p>Hello This is just an example of what should go in here. When youi move down to the bottom you will see what you need 2 enter. .</p>
</div>
下面是我的CSS,我已经习惯了控制。
.hello
{
position:absolute;
top: 210px;
width:37em;
text-wrap:none;
text-align: left;
font-size: 16px;
}
截图或演示将有所帮助。 – str
我有同样的问题 - 我有所有的像素设置,绝对定位,当我放大,文本改变一点,所以在包装结束的地方,它不会在同一个地方结束了。文本在缩放时跳转。这非常烦人,我无法弄清楚它为什么会发生。 –