A very depressing question, take a look at the code I originally wrote:
A horizontal scroll bar actually appeared. The problem is that the width I defined is only 950px. ! Finally, with the help of netizens, I discovered the reason:
1 You can directly change the css of the body to:
body{width:990px; margin:0; padding:0;}
2 You can add:
* {margin:0;padding:0;}The running effect after adding:
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn