The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Class, “margin-top” !?
Why does not “margin-top: 10px;” when we apply a class?
asd span>
. test { margin-top: 10px; }
and does not work …
Spans are inherently inline. Margins can only be used on block elements.