CSS problem with navigation and search filters in IE7

百般思念 提交于 2019-12-11 06:52:46

问题


These are IE7 Only problems:

Navigation Problem

The active tab "jumps" whenever a user hovers on an inactive tab.

Screenshot:

http://dl.dropbox.com/u/6688069/navi.jpg

Search Filter Problem

I can't seem to get the height correct in IE7 without breaking the functionality.

Screenshot of what is should look like:

http://dl.dropbox.com/u/6688069/filter.jpg

Thanks!


回答1:


What I'm seeing is that in IE7 this element:

<ul class="multiselect" id="multi-filtercountry"/>

is causing it those list items to expand... I also noticed that in Chrome, a real browser, none of those sidebar elements are expanding their parent. That means to me that you have one floating element in there somewhere, and the others aren't.

If you use Chrome's developer tools and mouse over the elements inside <span class="expanded"> you'll see that their position is determined to be up top, meaning they aren't flowing properly.

My best advice is to try to look at this not as an IE7 problem but a markup problem in general.



来源:https://stackoverflow.com/questions/6700025/css-problem-with-navigation-and-search-filters-in-ie7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!