Many thanks to John Boker for his concise explanation. What a time saver.

"Margin is on the outside of block elements while padding is on the inside. Use margin to separate the block from things outside it, padding to move the contents away from the edges of the block."

0 comment(s) :

Newer Post Older Post Home

Blogger Syntax Highliter