Home >Web Front-end >HTML Tutorial >IE6bug and tab list switching_html/css_WEB-ITnose

IE6bug and tab list switching_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:19:581128browse

ie6bug

怎样才能让ie6的效果与其他的效果一样呢?麻烦各位帮忙解答解答,万分感谢!

ie7+及FF的效果


IE6的效果

我的源代码




无标题文档







          
  • 常用网址
  •   
          
  • 资讯类
  •  
          
  • 购物类
  •  
          
  • 娱乐
  •  

jisdfjalsfjkdsf

 j23345566666666

LSJFDKSFJSAKDLFKSDFLFSAFADSF

乱收费的监控萨附近奥斯卡的房间






Reply to discussion (solution)

Why is the effect of my FF different from your IE6 It’s the same as the download

What about your IE8? It’s not like all your browsers will produce the same results as IE6!

What about your IE8? It’s not like all your browsers will produce the same results as IE6!
Ha
I have been reorganizing js recently
I forgot to import jq files
Haha
Sorry
I am adjusting

The css list in the source code needs Change it, I remember I changed it, how come this is the one uploaded?

Please click to read: tabs tab switching effect (jquery version).



I finally solved it
Just replace your css

Please click to read: tabs tab switching effect (jquery version).
Thank you for the link provided by the fifth floor. It is really helpful, but there is something I don’t understand:

.tabs_menu .selected{background:white;border-bottom:1px solid white;position :relative;} Why does adding position:relative; produce the desired effect?

Quoting the reply from athrunzero on the 5th floor: Please click to read: tabs tab switching effect (jquery version).
Thank you for the link provided by the fifth floor. It is really helpful, but there is something I don’t understand:

.tabs_menu .selected{background:white;border-bottom:1px solid white;position :relative;} Why add position:r...
Adding position:relative; is to solve the problem of ie6 and trigger haslayout under ie6.

Adding position:relative; is to solve the problem of ie6 and trigger haslayout under ie6.
Well, it should not trigger haslayout. I don’t know the specific reason. I only know that the underline cannot be covered under ie6 without adding position:relative;.

Thank you for your answers

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn