Padding vs Margins...difference?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
luvthepug
Propeller Head
Posts: 22
Joined: Thu Jun 23, 2011 8:06 am

Padding vs Margins...difference?

Post by luvthepug »

General question: What is the difference between padding and margins in the stylesheet editor? I never know which one to change.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Padding vs Margins...difference?

Post by LTinker68 »

See this page on w3schools --> http://www.w3schools.com/css/css_boxmodel.asp

Basically, margin is spacing outside the element, padding is spacing inside the element.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
luvthepug
Propeller Head
Posts: 22
Joined: Thu Jun 23, 2011 8:06 am

Re: Padding vs Margins...difference?

Post by luvthepug »

Thanks for the tip! I was able to adjust the spacing between my bullet list and the preceeding sentence by changing the margin setting rather than the padding. :D
Post Reply