I've got a page with an element [solid border] and I want to add another smaller element to that [dotted border] with a padding of 5px, now I don't know if it's somehow margin-right:5px or padding-right 5px
Asked
Active
Viewed 19 times
0
-
1Please provide the CSS and HTML you are using. – Stephen King Aug 31 '15 at 19:37
1 Answers
0
It's margin. You need to understand that padding
- it's inside margin, and margin
- it's outside margin. Read this answer to understand it!

Community
- 1
- 1

AleshaOleg
- 2,171
- 1
- 15
- 29