页面无法在 IE 7 和 8 中运行???菜单位置不正确
我的网站:http://www.soskin.zxq.net/incorporate.php, http://www.soskin.zxq.net/estate.php
如果您查看这些两个页面你会看到徽标和菜单之间的距离不同,然后说在这个页面中正确显示的 http://www.soskin.zxq.net/history.php。菜单是一个列表,列表的 ul 具有类 nav 并具有以下属性:
.nav{
float: left;
color: #FFF;
margin-top: 50px;
margin-right: 0px;
position: relative;
}
为什么它在一个页面上运行良好,但在另一个页面上运行不佳。请注意,两个页面都有表单,因此表单可能会影响这一点。我已经试验了几个小时,不知道表单如何影响它。你们中有人知道可能导致此问题的 IE 故障吗?
另外,我的菜单是一个下拉菜单,如果您将鼠标悬停在它上面,应该会显示。该显示中的文本看起来也错误(偏移不正确)。为此,我计划创建一个备用 IE 样式表,但也许有更好的方法。
My Site: http://www.soskin.zxq.net/incorporate.php, http://www.soskin.zxq.net/estate.php
If you look at these two pages you will see that the distance between the logo and the menu is different then say in this page which is correctly displayed http://www.soskin.zxq.net/history.php. The menu is a list the ul of the list has the class nav and has the following attributes:
.nav{
float: left;
color: #FFF;
margin-top: 50px;
margin-right: 0px;
position: relative;
}
Why is that it works fine on one page but not the other. Notice both pages have forms so it is possible the forms are affecting this. I have experimented for hours IDK how the forms affect it. Do any of you know any IE glitches that could be causing this.
Also my menu is a dropdown menu and if you hover over about it should display.The text in that display also looks wrong (offseted incorrectly). For this I'm planning to create an alternate IE style sheet, however maybe there is a better way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧...我不知道,但你无论如何可以做这样的事情:
well... idk but you can at any rate do something like this: