CSS display not working

后端 未结 3 888
鱼传尺愫
鱼传尺愫 2021-01-23 23:46

I\'m really frustrated because Display:none isn\'t working on a element in IE 7, what do I do? It works perfect on FF, Chrome etc...

相关标签:
3条回答
  • 2021-01-24 00:14

    Display:none should be display:none, for one thing.

    0 讨论(0)
  • 2021-01-24 00:26

    Try this

    div{
      display:none;
    }
    

    if not, jQuery should solve it.

    $(document).ready(function(){
      $("div").hide();
    });
    
    0 讨论(0)
  • 2021-01-24 00:36

    Start by checking that your code is correct using tools like these:

    • HTML Validator
    • CSS Validator
    0 讨论(0)
提交回复
热议问题