开发者

Weird Issue Causing Header to be dropped down on only 1 page

Check out开发者_如何学Python http://cancerpreventionnetwork.org/participants.shtml and you can see that the header is dropped down on this page. If you click on any other page, the header is not dropped like that. I have tried everything and I can't figure out what is causing this.


When I check the page in Chrome with inspect element, I see an extra text node. I can't see it in the source, but maybe you can?

Weird Issue Causing Header to be dropped down on only 1 page


seems to me that it's the classic UTF8 BOM encoding problem

you need to check all your source files and make sure that they are not encoded using the BOM.

there are many ways to remove it. I use notepad++ but there might be an automated tool or some shell code to remove the BOM for multiple files

and also.. if you're including files (templates) make sure that they don't have white spaces or new lines after the ?>

Good Luck

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜