gpt4 book ai didi

css - IE 7负边距错误

转载 作者:技术小花猫 更新时间:2023-10-29 12:04:18 24 4
gpt4 key购买 nike

使用此代码,“TEXT”不会出现在 IE 7 中。我认为它在输入后面?给它一个 zindex 并没有帮助,而且我不能使用 position:relative 因为它会把其他东西弄乱。关于如何修复的任何想法?

<!DOCTYPE html>
<input/><span style='margin-left:-50px;'>TEXT</span>

最佳答案

在 IE 6 中同样的事情。添加 position: absolute; 在 IE 6 中解决了它,所以希望它在 IE 7 中做同样的事情:

<span style='margin-left:-50px; position: absolute;'>TEXT</span>

关于css - IE 7负边距错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3169558/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com