|  Preserved Topic: css (Page 1 of 1)  | |
|---|---|
| Paranoid (IV) Inmate From: Blackstone, Ma, USA |  posted 03-09-2001 20:13 what is the difference between padding and margin when it comes to box elements? | 
| Maniac (V) Mad Scientist From: Jacks raging bile duct.... |  posted 03-09-2001 20:51 I could be wrong but I believe margins control blank space around an element and padding controls space from the border of your div inward... | 
| Paranoid (IV) Inmate From: Blackstone, Ma, USA |  posted 03-09-2001 22:28 okay that makes sense | 
| Maniac (V) Mad Scientist From: Solitary confinement |  posted 03-09-2001 22:45 One example is that the distance from the edge of the page to your outside table border is a margin. The distance from the inside of your table border to a contained object would be padding.    |