Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

CSS Margin vs. Padding ?

make money online
destroyer Offline referral

Posts: 429
Joined: Jul 2013
Reputation: 3

Senior Member
I need you to help me out with CSS Margin and CSS Padding I have a basic idea about how CSS works but for some reason I can understand difference between margin and padding I know the same code works for both of them but again what is the difference and where they are used?
maya Offline referral

Posts: 1,057
Joined: May 2013
Reputation: 34

Posting Freak
Both margin and padding CSS properties have the ability to add space within CSS layout!

The space around your content element is called CSS padding, the space outside the border is called CSS Margin.

This image illustrates difference between padding and margin.

CSS Margin vs Padding
damponting44 Offline referral

Posts: 536
Joined: Oct 2016
Reputation: 0

Senior Member
Edge is space of a component, while Padding is internal space of a component. Edge is the space outside the outskirt of a component, while Padding is the space that is inside its fringe. Edge can be esteem auto: edge: auto , yet you can't give Padding the estimation of auto.

Google this topic

User(s) browsing this thread: 1 Guest(s)