徽标和导航菜单在缩放时重叠的问题
菜单本身有几个问题我不知道如何解决,代码似乎有效(至少在那部分),但问题是当用户进入网站时,它会缩放(就像上网本的情况一样) ),网站徽标和 nav1 菜单重叠。关于这里失败的任何线索吗?我已经在我的计算机上尝试过 firefox、chrome 和 Opera,并且它不重叠,但在不同的计算机上是......该位的缓存问题。
任何帮助将非常受欢迎!
这是URL
The menu itself has a couple of issues I don't know how to fix, Code seems valid (at least in that part), but the problem is that when an user enters the website, and it's zoomed (as in the case of netbooks), the website logo and the nav1 menu overlap. Any clues on what's failing here? I have tried in firefox, chrome and Opera on my computer and it's not overlapping, but on different computers is... Cache issues for that bit.
Any help will be more than welcomed!
this is the URL
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是因为上网本的分辨率或浏览器宽度太小,无法容纳徽标和导航。当我将浏览器拖动到更窄的范围时,我看到了同样的问题。
您可以缩小徽标或将
#header
的宽度更改为 1024px,以防止其缩小太多。然而,这意味着内容会溢出上网本上的浏览器窗口。
如果您想保持
#header
的 964px 宽度,我建议缩小徽标It's because the resolution or browser width of the netbooks is too small to accommodate both the logo and the nav. I see the same issue when I drag my browser to be more narrow.
You can either shrink the logo or change the width of
#header
to 1024px to prevent it from shrinking too much.However, this would mean content would spill out of the browser window on the netbooks.
I recommend shrinking the logo if you want to keep the 964px width of
#header
您的徽标是绝对定位的,因此它始终距左侧 87 像素
可能你需要以不同的方式编写CSS
your logo is absolutely positioned so it will always be 87px from left
may be you need to write the css in a different way