May 19, 2002 #1 MrTom Programmer Joined Mar 13, 2001 Messages 383 Location GB what is the difference? they seem to behave differently in some situations. do they relate in anyway to parent <div>'s
what is the difference? they seem to behave differently in some situations. do they relate in anyway to parent <div>'s
May 19, 2002 1 #2 starway Programmer Joined Jan 15, 2002 Messages 1,010 Location UA margin = distance between the border of a block element and surrounding space padding = distance between the border of a block element and it's content Read here about it: http://www.w3.org/TR/REC-CSS2/box.html good luck Upvote 0 Downvote
margin = distance between the border of a block element and surrounding space padding = distance between the border of a block element and it's content Read here about it: http://www.w3.org/TR/REC-CSS2/box.html good luck
May 20, 2002 Thread starter #3 MrTom Programmer Joined Mar 13, 2001 Messages 383 Location GB Thanks! it can be difficult to find the right documentation sometimes but the picture near the top of that page is exactly what i needed. Upvote 0 Downvote
Thanks! it can be difficult to find the right documentation sometimes but the picture near the top of that page is exactly what i needed.