IE 7 及更低版本中的浮动导航?
我正在为我爸爸开发一个网站,但似乎无法解决我剩下要做的一件事。
问题是在 IE7 及以下版本中,导航会浮动左边,看起来很可怕。不幸的是,他的目标受众是年长的绅士(该产品可以缓解肌腱疼痛),他们可能不熟悉技术,因此很少(如果有的话)更新他们的浏览器。他们也很可能拥有 Internet Explorer。
帮助?
我讨厌 Internet Explorer。
I'm working on a website for my Dad and can't seem to fix the one thing I have left to do.
The website is http://www.tendonaid.com
The problem is that in IE7 and below, the navigation floats off to the left, and it looks horrible. Unfortunately, his target audience is older gentlemen (the product relieves tendon pain), who may be unfamiliar with technology and as such, rarely, if ever, update their browsers. They are also very likely to have Internet Explorer.
Help?
I hate Internet Explorer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
假设您指的是断开到下一行的链接,您会看到由于
.lavalamp
类的宽度而导致的换行。增加该元素的宽度,它会将所有元素保持在一行上。Assuming you are referring to the links breaking to the next line, you are seeing the line-break due to the width of your
.lavalamp
class. Increase the width of that element and it will keep all of them on one line.尝试让你的爸爸对条件CSS感到满意,它可以根据你使用的IE版本加载样式,如下所示。
仅当用户使用 ie7 时,上面的示例才会加载文件 ie-7.0.css。
如果您搜索“ie 的条件 css”,您会发现更多示例。
祝你好运,我希望你爸爸喜欢最终的网站:)
Try and make your pa happy with conditional css which can load styles depending on the version of ie you're using as follows.
The above example will load the file ie-7.0.css only if the user is using ie7.
If you google 'conditional css for ie' you'll find many more examples.
Good luck and I hope your dad likes the final site :)