Quote:
Originally Posted by theducks
works (shortcut: when all values are the same)
|
Yes, I know the shorthand form of the margin property

And also you can use the shorhand form even when all margins are different -i.e. margin: 1em 0 2em 0.5em-. But I wrote the properties separately because maybe the OP wouldn't want all margin equals (perhaps if images were left floated he would prefer margin-left: 0). By writing the properties of that way, I gave him the chance to change any of them without needing for him to know css (besides, of that way it easier to me than write -i.e. margin: 1em 0 2em 0.5em- and to explain it).