Margin vs padding

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
johnsmith0251
 
 
Posts: 206
Joined: Mon Aug 20, 2018 6:47 pm

Margin vs padding

Post by johnsmith0251 »

I'm trying to learn WWB a little better. Can someone help me better understand the difference between margin vs padding. They seem to do the same thing.
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Margin vs padding

Post by crispy68 »

They are not exactly the same. Think of it like this:

Padding - adds space inside the container/object
Margin - adds space on the outside of the container/object

In most cases, using either will get the results you need but not always. For example, if you wanted to add spacing to an image, you would not add Padding but would use margin. You want the spacing on the outside of the image not inside.
johnsmith0251
 
 
Posts: 206
Joined: Mon Aug 20, 2018 6:47 pm

Re: Margin vs padding

Post by johnsmith0251 »

Thank you! Summed it up perfectly!

What is gutter width?
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Margin vs padding

Post by crispy68 »

Gutter is left and right spacing/padding for layout grid columns. This allows you to add even spacing between objects in a grid
Post Reply