When I was doing a website project, I accidentally encountered a strange thing. My div is nested in another Div and there is always such a gap:
Firebug: view the margin, padding, and line-height of the internal and external Divs.
Right-click to view the source code, and there is no exception.
The fox's tail is always exposed. When you try to edit the outer Div with firebug, the following situation occurs:
One of them is & #65279, which is calculated using a calculator. The hexadecimal format is feff. Isn't that the famous BOM file header?
So I will search for it on the Internet and get the solution from http://7567567.blog.51cto.com/706379/641744. In the past, my inner Div entered through the include command of PHP, and this PHP file is exactly UTF-8 and should be it! Use the vim command: Set nobomb to solve the problem and re-upload it.
Original URL: http://www.loverecorder.com /? P = 30
[Switch] Why is there a gap in front of my Div block?