Home  >  Article  >  Web Front-end  >  ie6/ie7 css compatibility issue_html/css_WEB-ITnose

ie6/ie7 css compatibility issue_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:26:021231browse

This post was last edited by qq740248117 on 2013-12-20 18:09:53

When using jquery to operate css,
why does it not work in ie6/ie7?
Code As follows
$("#content").css("display","none")

Is this lower version of IE not supported? Please give me some advice

Reply to the discussion (solution)

This has nothing to do with CSS, you use the browser Use the debugging tool to see if the element with id=content is set to display=none in the tag.

If not, it is a problem with your jquery code. There is no compatibility issue with display=none. .

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