无法删除< li>之间的间距IE6中的项目

编程入门 行业动态 更新时间:2024-10-25 05:13:37
本文介绍了无法删除< li>之间的间距IE6中的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 这是我的头脑!请帮忙。 我已经构建了一个简单的< ul>作为我正在努力的页面的菜单。我已经测试了Mozilla Fireworks 1.5中的菜单,它很好 - 很好并且 紧凑而没有多余的空间 - 但是在Microsoft Internet Explorer 6中有 是每个列表项之间的巨大差距。 URL: 217.154.67.191/left_menu.htm 这是一件很简单的事我不知道所以请指点非常感谢。 非常感谢, JB

Hi All, This is doing my head in! Please help. I''ve built a simple <ul> to serve as a menu for a page I''m working on. I have tested the menu in Mozilla Fireworks 1.5 and it''s fine - nice and compact with no extra spacing - but in Microsoft Internet Explorer 6 there are huge gaps between each list item. URL :217.154.67.191/left_menu.htm It''s got to be a simple thing I''m missing so please point it out to me. Many thanks, JB

推荐答案

JB写道: JB wrote: 这是我的头脑!请帮忙。 我已经构建了一个简单的< ul>作为我正在努力的页面的菜单。我已经测试了Mozilla Fireworks 1.5中的菜单,它很好 - 很好,而且没有多余的空间 - 但在Microsoft Internet Explorer 6中,每个列表项之间存在巨大的差距。 网址: 217.154.67.191/left_menu.htm 这是一件我想念的简单事情所以请指出我。 This is doing my head in! Please help. I''ve built a simple <ul> to serve as a menu for a page I''m working on. I have tested the menu in Mozilla Fireworks 1.5 and it''s fine - nice and compact with no extra spacing - but in Microsoft Internet Explorer 6 there are huge gaps between each list item. URL :217.154.67.191/left_menu.htm It''s got to be a simple thing I''m missing so please point it out to me.

没有差距。当悬停时,蓝色背景不会相互分离。我想你必须看一下元素的行高 。 - Els locusmeus/ Sonhos vem。 Sonhos v?£。 O resto ?? crisfeito。 - Renato Russo -

There are no gaps. When hovering, the blue backgrounds aren''t separated from each other. I think you have to look at the line-height on the a element. -- Els locusmeus/ Sonhos vem. Sonhos v?£o. O resto ?? imperfeito. - Renato Russo -

" Els" < EL ********* @ tiscali.nl>在留言中写道 news:8y *************************** @ 40tude ... "Els" <el*********@tiscali.nl> wrote in message news:8y***************************@40tude... JB写道: JB wrote: 这是我的头脑!请帮忙。 我已经构建了一个简单的< ul>作为我正在努力的页面的菜单。我已经测试了Mozilla Fireworks 1.5中的菜单,它很好 - 很好,而且没有多余的空间 - 但在Microsoft Internet Explorer 6中存在巨大差距每个列表项之间。 URL: 217.154.67.191 /left_menu.htm 这是一件我想念的简单事情所以请指出我。 This is doing my head in! Please help. I''ve built a simple <ul> to serve as a menu for a page I''m working on. I have tested the menu in Mozilla Fireworks 1.5 and it''s fine - nice and compact with no extra spacing - but in Microsoft Internet Explorer 6 there are huge gaps between each list item. URL :217.154.67.191/left_menu.htm It''s got to be a simple thing I''m missing so please point it out to me.

没有差距。悬停时,蓝色背景不会相互分离。我想你必须看一下元素上的行高 - Els locusmeus/ Sonhos vem。 Sonhos v?o。 Orestoébritfeito。 - Renato Russo -

There are no gaps. When hovering, the blue backgrounds aren''t separated from each other. I think you have to look at the line-height on the a element. -- Els locusmeus/ Sonhos vem. Sonhos v?o. O resto é imperfeito. - Renato Russo -

感谢Els,但显然这是一个记录在案的问题: www.hicksdesign.co.uk/journal/ie-whitespace-bug 这些解决方案都没有用,但我最终通过隐藏来自IE以外的所有浏览器的一些命令来找到修复方法下划线 在他们面前。 #navigationContainer ul { list-style-type:none; font-family:Arial,Helvetica,sans-serif; font-size:0.6em; padding-bottom:8px; _float:left; _clear:both; } 不太理想但是有效! JB

Thanks for that Els but apparently this is a documented issue: www.hicksdesign.co.uk/journal/ie-whitespace-bug None of the solutions there worked but I eventually found a fix by hiding a couple of commands from all browsers except IE by putting an underscore before them. #navigationContainer ul { list-style-type: none; font-family: Arial, Helvetica, sans-serif; font-size:0.6em; padding-bottom:8px; _float:left; _clear:both; } Not ideal but it works! JB

2006年1月13日星期五,JB写道: On Fri, 13 Jan 2006, JB wrote: font-size:0.6em ; 哎哟! 不太理想但是有效! font-size:0.6em; Ouch! Not ideal but it works!

"非常小的值术语作品。

"For very small values of the term ''works''."

更多推荐

无法删除&lt; li&gt;之间的间距IE6中的项目

本文发布于:2023-11-12 01:08:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580078.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:间距   项目   lt   amp   li

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!