slimatbivat
New Member
HTML:\[code\]hello there! <div class='badge'>give this a small margin.</div> Please!?\[/code\]CSS:\[code\].badge { display: inline-block; margin-top: -2px;} \[/code\]See fiddle here: http://jsfiddle.net/ThySQ/2/How to give the text in the div a margin? It doesn't seem to work like this.