When to use margin vs padding in CSS

Posted by Alex Angas on Stack Overflow See other posts from Stack Overflow or by Alex Angas
Published on 2010-02-03T03:20:12Z Indexed on 2010/05/05 0:08 UTC
Read the original article Hit count: 416

Filed under:
|
|
|

When writing CSS, is there a particular rule or guideline that should be used in deciding when to use margin and when to use padding?

© Stack Overflow or respective owner

Related posts about css

Related posts about margin