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

Thread: 

CSS Margin vs. Padding ?

Ads
destroyer Offline referral

Posts: 430
Joined: Jul 2013
Reputation: 3

#1
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,058
Joined: May 2013
Reputation: 34

#2
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





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