What throws Internet Explorer into quirks mode?

前端 未结 4 608
再見小時候
再見小時候 2020-12-18 20:38

I have created a webpage (http://www.snow4life.yum.pl) that was rendered properly in firefox, chrome etc. Of course dumb IE complicated things, because it e

4条回答
  •  孤城傲影
    2020-12-18 21:11

    Try killing all the whitespace before the DOCTYPE.

    EDIT: There is an character which is a Unicode BOM signature at the start of the file. Since you may not have a text editor that can actually see that, try deleting the entire first line and paste over it with

    
    

    And do NOT save the file with a BOM unicode signature. If this doesn't work, try a different text editor altogether.

提交回复
热议问题