IE中的水平列表/菜单问题 [英] Horizonal list/menu problem in IE

查看:61
本文介绍了IE中的水平列表/菜单问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我一直在尝试制作一个水平的菜单,我在IE中得到了不同的结果。我也尝试了不同的定位方式,并想知道最好的方法是什么。


下面是菜单的html和CSS的代码。我还附上了不同结果的图像,将鼠标悬停在它们上面。


Firefox 3(工作正常):


Opera 9.51(工作正常):


IE 7(更改尺寸等):



CSS:

展开 | 选择 | Wrap | 行号

解决方案

您现在可以在以下位置查看: www.andyboyjlm.obxhost.net



另外有人可能会告诉我为什么滚动条已添加到浏览器现在我已将其上传到主机 - 之前我没有滚动条而且我不想要一个滚动条,除非我自己加入它。


您现在可以在以下位置查看: www.andyboyjlm.obxhost.net


也有人可能会告诉我为什么滚动条已被添加到浏览器...



好​​主意验证标记和CSS,也检查页面在Safari,Opera和Firefox中使用和不使用+2字体缩放;并且,在文本大小最大的情况下,在IE / 6& amp;中忽略了字体大小(当设置冷冻字体时) IE / 7;并且在发布之前在所有上述浏览器的短窗口中检查页面。


那个答案是否与我的第二篇文章有关?


你在这里对我来说太快了。我是新手,所以冷冻字体,字体大小被忽略,最大对我来说并不重要。


我已经检查了3个浏览器,你可以看到,我已经调整了它们以模拟较小的分辨率等,这些都在1024x768中都很好。任何小事我现在都不会打扰 - 我只是在尝试。如果这就是字体缩放的意思,我已经控制了几次并用鼠标缩放了几次。


否则我不太确定你在做什么。


Hello,

I''ve been trying to make a horzontal menu and I''m getting different results in IE. Also I''ve tried different ways of positioning and was wondering what is the best way.

Underneath is the code for the html and CSS of the menu. I have also attached images of what I mean by different results, hover over them to see.

Firefox 3 (works fine):

Opera 9.51 (works fine):

IE 7 (Changes sizes etc):


CSS:

Expand|Select|Wrap|Line Numbers

解决方案

You can now view it at: www.andyboyjlm.obxhost.net


Also someone may be able to tell me why a scrollbar has been added to the browser now that I''ve uploaded it to a host - I had no scrollbar before and I don''t want one unless I incorporate it myself.


You can now view it at: www.andyboyjlm.obxhost.net

Also someone may be able to tell me why a scrollbar has been added to the browser...

Good idea to validate the markup and CSS, to also check the page with and without +2 font-scaling in Safari, Opera, and Firefox; and, at text-size "largest" with font-sizes ignored (when setting frozen-fonts) in IE/6 & IE/7; and to check the page in a short window in all above browsers before posting.


Was that answer just relating to my 2nd post then?

You''re going a bit too fast for me here. I''m new, so frozen fonts, font sizes ignored and largest doesn''t mean much to me.

I''ve checked in 3 browsers as you can see, and I''ve resized them to simulate smallers resolutions etc, which are all good in 1024x768. Anything smaller I''m not bothered about at the moment - I''m just experimenting. I''ve held control in and scaled a couple of times up with my mouse if that''s what you mean by font scaling.

Otherwise I''m not quite sure what you''re on about.


这篇关于IE中的水平列表/菜单问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆