Padding & margins?
Posted: 03 December 2009 06:46 AM   [ Ignore ]
Newbie
Rank
Total Posts:  12
Joined  2009-12-01

What is the difference between padding and margins?

Profile
 
 
Posted: 04 December 2009 06:44 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  7
Joined  2009-12-04
Robinalex - 03 December 2009 06:46 AM

What is the difference between padding and margins?

Margins are spacing around the outside of an element and padding is spacing around the inside of the element.

Earl

Profile
 
 
Posted: 06 January 2010 01:53 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  12
Joined  2010-01-05

At first glance they do the same thing, but they’re fundamentally different. Margin means “create this much space around the outside of my element” while padding means “create this much space around the inside of my element”. If your element had a red background and you increased the margin, the element would appear the same, but there would be more invisible spacing around it. If you increased the padding it’d appear if the element itself got biggerMyspace Layouts

Profile
 
 
Posted: 26 January 2010 03:37 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  3
Joined  2010-01-21

Margins and padding can be confusing to the novice Web designer. After all, in some ways, they seem like the same thing: white space around an image or object.
Padding is the space inside the border between the border and the actual image or cell contents. In the image, the padding is the yellow area around the contents. Note that padding goes completely around the contents: there is padding on the top, bottom, right and left sides.
Margins are the spaces outside the border, between the border and the other elements next to this object. In the image, the margin is the red area outside the entire object. Note that, like the padding, the margin goes completely around the contents: there are margins on the top, bottom, right, and left sides.
Keep in mind, if you are planning on doing really fancy things with margins and padding, that Internet Explorer doesn’t implement the box model correctly. This means that your pages will look different (and sometimes vastly different) in other browsers.
CUBAN CIGARS

Profile
 
 
Posted: 18 January 2011 02:08 AM   [ Ignore ]   [ # 4 ]
Sr. Member
RankRankRankRank
Total Posts:  139
Joined  2010-04-23

It’s where the spacing goes. Margin is the spacing outside of the border, padding is the spacing inside of the border.
_____________________________________
Sudoku - Play Flash Games - Play Flash Games

Profile
 
 
Posted: 19 January 2011 01:53 PM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  1
Joined  2011-01-19

I can’t figure out how and I haven’t found any useful tutorials online. And I just want the cell padding/margin on SINGLE table cells, not the whole table (in case you didn’t figure that out) (not trying to insult your intelligence!). Any help would be very much appreciated! ^_^
Force Factor

Profile
 
 
Posted: 19 February 2011 10:08 PM   [ Ignore ]   [ # 6 ]
Newbie
Avatar
Rank
Total Posts:  14
Joined  2011-02-18

I has some tools edit layer.

Broan Range Hoods | Leather iPad Cases

Profile
 
 
Posted: 07 July 2011 07:25 AM   [ Ignore ]   [ # 7 ]
Jr. Member
RankRank
Total Posts:  31
Joined  2011-04-01

Padding is the space inside the border between the border and the actual image or cell contents.
Margins are the spaces outside the border, between the border and the other elements next to this object.

Profile
 
 
Posted: 15 November 2011 09:35 PM   [ Ignore ]   [ # 8 ]
Newbie
Rank
Total Posts:  17
Joined  2010-04-20

yeah .. I am also still confused by the difference the between padding and margins

______________

Always Newbie....

Profile
 
 
Posted: 16 November 2011 11:57 AM   [ Ignore ]   [ # 9 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2010-05-17

The difference between spacing and margin can be defined as, padding is the space inside the border where as margins are spaces outside the border.

Profile
 
 
Posted: 25 November 2011 07:27 AM   [ Ignore ]   [ # 10 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2010-05-17

The difference between the padding and margin is very simple.
Margin clears area around an element that is outside the border and it doesn’t have a background colour.
Padding defines the space between the element border and the content. it is affected by the background color of the element.

Profile
 
 
Posted: 18 January 2012 05:07 PM   [ Ignore ]   [ # 11 ]
Jr. Member
RankRank
Total Posts:  44
Joined  2010-10-13

Padding is the space inside the border between the border and the actual image or cell

Profile
 
 
Posted: 18 January 2012 05:41 PM   [ Ignore ]   [ # 12 ]
Jr. Member
RankRank
Total Posts:  39
Joined  2010-10-06

there is no

Profile
 
 
Posted: 18 January 2012 06:28 PM   [ Ignore ]   [ # 13 ]
Newbie
Rank
Total Posts:  23
Joined  2011-01-06

There are important differences between margins and padding that you should take into consideration

Profile