Home > Enterprise >  why is there margin/padding on the left side of my text
why is there margin/padding on the left side of my text

Time:12-17

I am styling a newsletter for different mail clients but i have one problem and that is that the copyright text on the bottom seems to be adding padding or margin on the left side of it and i can not figure out why. I have tried many things like putting the padding left and margin left on 0 but that does not seem to work. Does anyone have a fix for this problem ?.

CodePudding user response:

have you tried this yet?

* {
  margin: 0;
  padding: 0;
}

link: Removing body margin in CSS

CodePudding user response:

Are you using <ul> tag? It has a CSS Default Values padding-inline-start: 40px;.

You can remove it by setting it to 0px,i.e. padding-inline-start: 0;

  • Related