本文介绍了行高:IE6中的高度和高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 伙计们! 我无法让IE6显示正确的菜单列表。 在#menu我指定的行高:1.7 EM;但是ie6让空间更大。 所以我指定了身高:1.7em;在#menu li a。现在空间就是它应该是b $ b,但它仍然没有在菜单边框和 第一项之间留出空间。 如果我不够清楚,只需在Firefox,Opera等中进行比较。如何 使ie6显示如此? 网站已经过测试Safari 2.0.3,FX 1.5.03,Camino 1.0,Opera 9(所有 mac),FX 1.5.0.2和Windows上的IE6。只有ie6没有正确显示 (数字......)。 www.merz-mladi.org/v2/ 谢谢 解决方案 好​​的,解决了。这是我的愚蠢(#header.something而不是.something)。 菜单问题仍然存在。 IE有问题与他们。试试百分比。 - 买,买,再见 Hi, guys! I can''t get IE6 to display properly menu list.In #menu i specified line-height: 1.7em; but ie6 made way bigger space.So I''ve specified height: 1.7em; in #menu li a. Now space is as itshould be, but still it does not make space between menu border and thefirst item. If I am not clear enough, just compare it in Firefox, Opera etc. How tomake ie6 to display like that? Site is tested in Safari 2.0.3, FX 1.5.03, Camino 1.0, Opera 9 (allmac), FX 1.5.0.2 and IE6 on Windows. Only ie6 doesn''t display properly(figures...). www.merz-mladi.org/v2/ Thanks 解决方案 I just noticed that in "the browser" is not working headers change. Why <div id="header" class="something"></div> is not working? Strange, but class="index" works. Wild guess was that it displaysbecause of the same html name (everything is possible with ie6!), butit''s not working (tried). Any inputs? Ok, solved. It was my stupidity (#header.something instead of .something). Menu problem remains. IE has problems with em. Try percentages. --buy, bought, bye 这篇关于行高:IE6中的高度和高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-12 13:47