Home > front end >  Consult a clear margin
Consult a clear margin

Time:11-26

* {margin: 0; Why after padding: 0} set web page is not clear,

CodePudding user response:

Console to find elements, it would be a piece of style, just picture all by guess?

CodePudding user response:

Encounter this kind of problem, open a console (F12), select the right margin of the current element, to check whether there is a margin and padding, didn't have to see what label, general p h1 tag these contribute margin, you can refer to initialize CSS styles, to clear the margin that each label

CodePudding user response:

* try to the body

CodePudding user response:

I guess it is 2345 own compatibility problems

CodePudding user response:

refer to the second floor front _ rookie response:
encountered this kind of problem, open a console (F12), select the right margin of the elements, see if any margin and padding, didn't have to see what tags, general p h1 tag that will bring margin, you can refer to initialize the CSS styles, to clear the margin that the tag

Thank you for your guidance, education,
  • Related