Thread: Spacing issues
View Single Post
Old 07-18-2013, 03:59 PM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,797
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by theducks View Post
Code:
margin: 1em;
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).
RbnJrg is offline   Reply With Quote