Somehow php broke doctype

后端 未结 2 553
礼貌的吻别
礼貌的吻别 2020-12-22 04:36

I created two threads here and here about that internet explorer works in quirks mode and that broke the layout. After a bit of investigation I found that somehow php make s

2条回答
  •  清酒与你
    2020-12-22 05:06

    Most likely there is some output going to the browser before the doctype.

    Ensure that:

    • There is no white space or any other kind of data before the opening tags
    • There is no BOM at the beginning if your files are saved using some Unicode encoding

    ...in any of the files that are being parsed to generate your output.

提交回复
热议问题