In the web page I made, I feel that there is a gap between the overall frame and the browser. How to solve this and what causes it? I just studied it by myself. I hope the master can make it easier to understand. Thank you.
CSS can have such a definition *{margin:0;padding:0;} which can generally solve your problem.
CSS can have such a definition *{margin:0;padding:0;} which can generally solve your problem.
Correct answer!
It depends on what kind of gap it is. It is best to post code or pictures, otherwise it will be difficult for others to answer you
css can have such a definition *{margin:0;padding:0 ;} Generally it can solve your problem.
That’s OK
The problem is solved, thank you for your help!
Look at the css of various websites on the Internet. There will be one or a section of css specially used for reset. Set it in a targeted way
It is not recommended to use *{margin: when pursuing performance. 0;padding:0;},
body { margin:0; padding:0; }
p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl, dt,dd { margin:0; padding:0; }
Write this sentence globally *{margin:0;padding:0;}www.seo7ye.com