span is an inline element that doesn't support vertical margins. Put the margin on the outer div instead. Use tag instead of tag. or span { display:inline-block; /*or display:block;*/ } thank! #span #p #span not working #margin-topreference : https://stackoverflow.com/questions/11700985/margin-top-not-working-for-span-element
[CSS] <span> not working margin-top
span is an inline element that doesn't support vertical margins. Put the margin on the outer div instead. Use tag instead of tag. or span { display:inline-block; /*or display:block;*/ } thank! #span #p #span not working #margin-topreference : https://stackoverflow.com/questions/11700985/margin-top-not-working-for-span-element
2017.10.12