Extra padding on Chrome/Safari/Webkit — any ideas?

前端 未结 9 2236
广开言路
广开言路 2021-02-07 05:35

My page has this extra padding on the top of page that I\'m unable to remove. Tried everything under the sun and hope someone can show me the way.

Any ideas?

9条回答
  •  南笙
    南笙 (楼主)
    2021-02-07 06:03

    It is, in my opinion, caused by an EMBED element added by some plugin just after the HTML opening tag* (check "right click > inspect element" to see if it is really there). If yes, there are basically two options to follow:

    1. disable/remove the plugin which is responsible for adding the element; (preferred, as it's global)
    2. insert embed{display:none} into your style sheet.

    *This was my case - the plugin called default plugin and both disabling & removing helped solve the issue.

提交回复
热议问题