When using jquery to operate css,
$("#content").css("display","none")
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. .