| 
 Posted by Jim Moe on 05/27/07 17:31 
JWL wrote: 
>  
> Suppose I have a div containing headings and paragraphs, and I decide to  
> add some margin or padding to the left side of the div to create some  
> whitespace. My question is, in this situation, is there any reason  
> whatsoever to choose padding over margin or vise versa? 
>  
  It depends. 
  Margin affects the spacing outside of the border. Padding affects the 
spacing inside the border. 
 
--  
jmm (hyphen) list (at) sohnen-moe (dot) com 
(Remove .AXSPAMGN for email)
 
  
Navigation:
[Reply to this message] 
 |