| 
	
 | 
 Posted by Jonathan N. Little on 05/27/07 15:21 
JWL wrote: 
> Hello 
>  
> 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? 
 
Depends on *where* you want the space! 
see: 
 
http://www.w3.org/TR/CSS21/box.html#box-dimensions 
 
You have to consider the context of the application, you suppled not URL  
so who would know? 
 
 
--  
Take care, 
 
Jonathan 
------------------- 
LITTLE WORKS STUDIO 
http://www.LittleWorksStudio.com
 
  
Navigation:
[Reply to this message] 
 |