Sign up for Free !!
World's first open source developer community with
Ticketing System
Hi guys ,
I face a lot of confusion between margin and padding whem I am trying to apply css for an HTML file.....
So any help will be appreciated.....
Basically, a margin is the space around an element
Padding refers to the space between an element and the content inside it.
You can watch it here (for example)
https://www.w3schools.com/css/css_boxmodel.asp
Please Login/Register to write your answer !!!
Basically, a margin is the space around an element
Padding refers to the space between an element and the content inside it.