简体   繁体   English

IE7浮动列表项格式问题

[英]IE7 Floated list Items formatting issues

Towards the bottom there are link list items. 底部有链接列表项。 For some reason in IE7 the formatting looks off. 由于IE7中的某些原因,格式看起来不对。 I'm not entirely sure why that is and what I need to do to fix it. 我不完全确定为什么会这样,以及我需要做什么来解决它。

http://sandbox.solutionsbydesign.com/hughes/?page_id=43 http://sandbox.solutionsbydesign.com/hughes/?page_id=43

Post your CSS/HTML code snippets. 发布您的CSS / HTML代码段。 Try display: inline-block in sub-menu li class 尝试显示:子菜单li类中的inline-block

On your ul with id="options" add the css property: whitespace: nowrap; 在具有id =“ options”的ul上添加css属性:whitespace:nowrap;

This will make sure that your list items don't wrap to a second line within their LI area instead forcing the LI to wrap to the second and third lines. 这将确保您的列表项不在其LI区域内换行到第二行,而是强制LI在第二行和第三行换行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM